[build] Add a makefile
This commit is contained in:
parent
1703f0cf78
commit
54267d51eb
1
.gitignure
Normal file
1
.gitignure
Normal file
|
@ -0,0 +1 @@
|
|||
selphy_print*
|
9
Makefile
Normal file
9
Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
CFLAGS = -Wall
|
||||
|
||||
all: selphy_print_linux selphy_print_libusb
|
||||
|
||||
selphy_print_linux: es_print_linux.c es_print_common.h
|
||||
gcc -o selphy_print_linux es_print_linux.c $(CFLAGS)
|
||||
|
||||
selphy_print_libusb: es_print_libusb.c es_print_common.h
|
||||
gcc -o selphy_print_libusb es_print_libusb.c -lusb-1.0 $(CFLAGS)
|
Loading…
Reference in a new issue