X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=flash%2FMakefile;h=412c366e5a6cd736ce4d65194a31108a7c95d89d;hb=2edd0530a6d3dfc428bedc3d9628093775673389;hp=9fa67435c4b163afed58e5e11c2a0dce4d9bb86d;hpb=0ff09f90ce176d0700eb88ec1ee1ec3932978c73;p=fw%2Fstlink diff --git a/flash/Makefile b/flash/Makefile index 9fa6743..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)