ports/comms/ems-flasher/files/patch-Makefile
Pawel Pekala fc1faab1d7 ems-flasher is software for flashing the EMS Gameboy USB 64 MBit cart.
WWW: http://lacklustre.net/redmine/projects/ems-flash/

PR:		ports/166915
Submitted by:	Nicole Reid <root@cooltrainer.org>
2012-04-22 08:43:12 +00: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)