osgjs_conv
diff Makefile @ 0:75807c6b939b
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 02 Jun 2016 14:25:37 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Thu Jun 02 14:25:37 2016 +0300 1.3 @@ -0,0 +1,14 @@ 1.4 +src = $(wildcard src/*.c) 1.5 +obj = $(src:.c=.o) 1.6 + 1.7 +bin = test 1.8 + 1.9 +CFLAGS = -pedantic -Wall -g 1.10 +LDFLAGS = -ljansson 1.11 + 1.12 +$(bin): $(obj) 1.13 + $(CC) -o $@ $(obj) $(LDFLAGS) 1.14 + 1.15 +.PHONY: clean 1.16 +clean: 1.17 + rm -f $(obj) $(bin)