opnsense-ports/comms/ems-flasher/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
402 B
Text

--- Makefile.orig 2012-03-22 18:15:08.163459495 -0400
+++ Makefile 2012-03-22 18:15:36.050459158 -0400
@@ -1,13 +1,10 @@
PROG = ems-flasher
OBJS = ems.o main.o
-CFLAGS = -g -Wall -Werror
-CFLAGS += `pkg-config --cflags libusb-1.0`
-
all: $(PROG)
$(PROG): $(OBJS)
- $(CC) -o $(PROG) $(OBJS) `pkg-config --libs libusb-1.0`
+ $(CC) -o $(PROG) $(OBJS) $(LDFLAGS)
clean:
rm -f $(PROG) $(OBJS)