mirror of
https://github.com/shakemid/pcsensor-temper.git
synced 2025-01-21 09:08:17 +01:00
Fix Makefile
This commit is contained in:
parent
5beecd0fc0
commit
c2188fc9cf
1 changed files with 7 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -1,8 +1,13 @@
|
||||||
all: pcsensor
|
# Makefile for pcsensor
|
||||||
|
|
||||||
|
ifndef ${CC}
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
endif
|
||||||
|
|
||||||
CFLAGS = -g -O2 -Wall -lusb-1.0 -I/usr/include/libusb-1.0
|
CFLAGS = -g -O2 -Wall -lusb-1.0 -I/usr/include/libusb-1.0
|
||||||
|
|
||||||
|
all: pcsensor
|
||||||
|
|
||||||
pcsensor: pcsensor.c
|
pcsensor: pcsensor.c
|
||||||
${CC} ${CFLAGS} -DUNIT_TEST -o $@ $^
|
${CC} ${CFLAGS} -DUNIT_TEST -o $@ $^
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue