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,11 +3,10 @@ OBJ = obj | ||
3 | SRC = src | 3 | SRC = src |
4 | INCLUDE = include | 4 | INCLUDE = include |
5 | CFLAGS = | 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 | GNUMAKEFLAGS = --no-print-directory | 7 | GNUMAKEFLAGS = --no-print-directory |
8 | 8 | ||
9 | gcc = gcc | 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 | VERBOSE_THRESHOLD?=3 | 12 | VERBOSE_THRESHOLD?=3 |
@@ -28,7 +27,7 @@ all : main | @@ -28,7 +27,7 @@ all : main | ||
28 | version : | 27 | version : |
29 | ${gcc} -v | 28 | ${gcc} -v |
30 | 29 | ||
31 | -main : libusb_wrapper ${SRC}/main.c | 30 | +main : bin libusb_wrapper ${SRC}/main.c |
32 | ${gcc} -o ${OBJ}/$@.o -c ${SRC}/$@.c -I ${INCLUDE} ${CLIBS} ${CFLAGS} | 31 | ${gcc} -o ${OBJ}/$@.o -c ${SRC}/$@.c -I ${INCLUDE} ${CLIBS} ${CFLAGS} |
33 | ${gcc} -o ${BIN}/$@.exe ${OBJ}/main.o ${OBJ}/libusb_wrapper.o ${CFLAGS} ${CLIBS} | 32 | ${gcc} -o ${BIN}/$@.exe ${OBJ}/main.o ${OBJ}/libusb_wrapper.o ${CFLAGS} ${CLIBS} |
34 | 33 |