termo/Makefile

15 lines
201 B
Makefile
Raw Normal View History

2008-02-07 01:58:41 +01:00
CCFLAGS=-Wall -Iinclude -std=c99
LDFLAGS=
all: demo
demo: termkey.o demo.c
gcc $(CCFLAGS) $(LDFLAGS) -o $@ $^
termkey.o: termkey.c
gcc $(CCFLAGS) -o $@ -c $^
.PHONY: clean
clean:
rm -f *.o demo