diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-08-26 18:51:11 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-08-26 18:51:11 -0400 |
commit | 8a3c72fdaabdc8c565a8c91361a2f8d38c892e1e (patch) | |
tree | 44d11e53a0345844b2d44319e5ad648454e249d4 /Makefile | |
download | libfhp-8a3c72fdaabdc8c565a8c91361a2f8d38c892e1e.tar.bz2 libfhp-8a3c72fdaabdc8c565a8c91361a2f8d38c892e1e.zip |
initial commit
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) |