Commit 7d1191fd6c99b2bc6967183e7f5c3ed100138016
1 parent
0cd64dcd
manque une dépendance
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
Makefile
... | ... | @@ -3,11 +3,10 @@ OBJ = obj |
3 | 3 | SRC = src |
4 | 4 | INCLUDE = include |
5 | 5 | CFLAGS = |
6 | -CLIBS = -lusb-1.0 -I"C:\Program Files\zLib\libusb-1.0.23\include" -B"C:\Program Files\zLib\libusb-1.0.23\MinGW32\static" | |
6 | +CLIBS = -lusb-1.0 | |
7 | 7 | GNUMAKEFLAGS = --no-print-directory |
8 | 8 | |
9 | 9 | gcc = gcc |
10 | -gcc := "/mnt/c/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gcc.exe" | |
11 | 10 | |
12 | 11 | |
13 | 12 | VERBOSE_THRESHOLD?=3 |
... | ... | @@ -28,7 +27,7 @@ all : main |
28 | 27 | version : |
29 | 28 | ${gcc} -v |
30 | 29 | |
31 | -main : libusb_wrapper ${SRC}/main.c | |
30 | +main : bin libusb_wrapper ${SRC}/main.c | |
32 | 31 | ${gcc} -o ${OBJ}/$@.o -c ${SRC}/$@.c -I ${INCLUDE} ${CLIBS} ${CFLAGS} |
33 | 32 | ${gcc} -o ${BIN}/$@.exe ${OBJ}/main.o ${OBJ}/libusb_wrapper.o ${CFLAGS} ${CLIBS} |
34 | 33 | ... | ... |