X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=flash%2FMakefile;h=412c366e5a6cd736ce4d65194a31108a7c95d89d;hb=2edd0530a6d3dfc428bedc3d9628093775673389;hp=6b708714fb534204a7e160bcec0f09041af4c937;hpb=b998bdd9857f7b66452282806e725c4a1073e607;p=fw%2Fstlink diff --git a/flash/Makefile b/flash/Makefile index 6b70871..412c366 100644 --- a/flash/Makefile +++ b/flash/Makefile @@ -1,12 +1,4 @@ -# make ... for both libusb and libsg -# -# make CONFIG_USE_LIBSG=0 ... -# for just libusb -# -CC=gcc - CFLAGS+=-g -CFLAGS+=-DCONFIG_USE_LIBUSB=1 CFLAGS+=-DDEBUG CFLAGS+=-std=gnu99 CFLAGS+=-Wall -Wextra @@ -14,15 +6,6 @@ CFLAGS+=-I../src LDFLAGS=-L.. -lstlink -lusb-1.0 -ifeq ($(CONFIG_USE_LIBSG),) -CONFIG_USE_LIBSG=1 -endif - -#ifneq ($(CONFIG_USE_LIBSG),0) -#CFLAGS+=-DCONFIG_USE_LIBSG=1 -#LDFLAGS+=-lsgutils2 -#endif - SRCS=main.c OBJS=$(SRCS:.c=.o)