Makefile: place LDFLAGS after objects
[fbpad.git] / Makefile
blob9fb998c4d060e27425270585fda5e346fd77d6d4
1 CC = cc
2 CFLAGS = -Wall -O2
3 LDFLAGS =
5 all: fbpad
6 %.o: %.c
7 $(CC) -c $(CFLAGS) $<
8 fbpad: fbpad.o term.o pad.o draw.o font.o
9 $(CC) -o $@ $^ $(LDFLAGS)
10 clean:
11 rm -f *.o fbpad