diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,11 +1,14 @@ CC ?= cc CFLAGS=-std=c99 -W -Wall -pedantic -O2 -Iinclude OBJS=fhp.o test.o -APP=fhp-test +APP=./fhp-test all: $(OBJS) $(CC) -o $(APP) $(OBJS) +test: all + $(APP) + %.o: %.c include/fhp/fhp.h $(CC) -c $(CFLAGS) $< |