[build] Add a makefile

This commit is contained in:
Solomon Peachy 2012-10-27 10:22:12 -04:00
parent 1703f0cf78
commit 54267d51eb
2 changed files with 10 additions and 0 deletions

1
.gitignure Normal file
View file

@ -0,0 +1 @@
selphy_print*

9
Makefile Normal file
View 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)