amiga_imgv
diff Makefile @ 0:a4788c959918
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 25 Oct 2017 19:34:53 +0300 |
parents | |
children | 663471a80c21 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Wed Oct 25 19:34:53 2017 +0300 1.3 @@ -0,0 +1,14 @@ 1.4 +src = $(wildcard src/*.c) $(wildcard src/amiga/*.c) 1.5 +obj = $(src:.c=.o) 1.6 +bin = imgv 1.7 + 1.8 +CC = vc 1.9 +CFLAGS = -Isrc -Isrc/amiga 1.10 +LDFLAGS = -lamiga 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)