123456789101112131415161718192021 |
- respect env build settings
- --- a/releases/smdk-tools-v0.20/dltool/Makefile
- +++ b/releases/smdk-tools-v0.20/dltool/Makefile
- @@ -7,8 +7,13 @@
-
- .PHONY: clean
-
- -dltool: dltool.c
- - $(CC) -O2 -Wall -g -lusb -o smdk-usbdl dltool.c
- +CFLAGS ?= -O2 -g
- +CFLAGS += -Wall
- +PKG_CONFIG ?= pkg-config
- +CPPFLAGS += $(shell $(PKG_CONFIG) --cflags libusb)
- +LDLIBS = $(shell $(PKG_CONFIG) --libs libusb)
- +
- +all: dltool
-
- clean:
- -rm smdk-usbdl
|