diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9541695 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC ?= cc +CFLAGS=-std=c99 -W -Wall -pedantic -O2 -Iinclude +OBJS=fhp.o test.o +APP=fhp-test + +all: $(OBJS) + $(CC) -o $(APP) $(OBJS) + +%.o: %.c include/fhp/fhp.h + $(CC) -c $(CFLAGS) $< + +clean: + rm -f $(APP) $(OBJS) |