diff options
author | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-15 21:30:17 +0100 |
---|---|---|
committer | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-15 21:30:17 +0100 |
commit | 9cd1d0d6bea1336f57b6411d1c09abe892156623 (patch) | |
tree | 202950ac72425b4db0b9f24cf556776d9764d080 /Makefile | |
parent | 8fcc38ce404f16b2809a73de7bdf778bb84becb4 (diff) | |
download | unja-9cd1d0d6bea1336f57b6411d1c09abe892156623.tar.gz unja-9cd1d0d6bea1336f57b6411d1c09abe892156623.zip |
add readme
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,14 +1,13 @@ -override CFLAGS+= -g -Wall -std=c11 -I. -LIBS= +CFLAGS= -g -Wall -std=c99 -I. +LDLIBS= TESTFLAGS= $(CFLAGS) -Isrc/ +ifdef debug + CFLAGS+=-DDEBUG +endif -all: bin/hyde - +all: check bin:; mkdir -p bin/ -bin/hyde: src/hyde.c src/hashmap.c src/template.c src/vector.c vendor/mpc.c | bin - $(CC) $(CFLAGS) $^ -o $@ - bin/test_hashmap: src/hashmap.c tests/test_hashmap.c | bin $(CC) $(TESTFLAGS) $^ -o $@ |