diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-08-26 21:48:54 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-08-26 21:48:54 -0400 |
commit | 0f8623056efdc7a5fe4b02a0b819b920703c5460 (patch) | |
tree | abe6d8a61ba1135b02d00964a264910f13ee0da7 /Makefile | |
parent | 8a3c72fdaabdc8c565a8c91361a2f8d38c892e1e (diff) | |
download | libfhp-0f8623056efdc7a5fe4b02a0b819b920703c5460.tar.bz2 libfhp-0f8623056efdc7a5fe4b02a0b819b920703c5460.zip |
add test target
Diffstat (limited to 'Makefile')
-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) $< |