amiga_imgv

diff tools/img2ham/Makefile @ 12:20c7238c60be

img2ham unfinished
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 20 Nov 2017 08:36:16 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/img2ham/Makefile	Mon Nov 20 08:36:16 2017 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +src = $(wildcard *.c)
     1.5 +obj = $(src:.c=.o)
     1.6 +bin = img2ham
     1.7 +
     1.8 +CFLAGS = -pedantic -Wall -g -I../../src
     1.9 +LDFLAGS = -limago
    1.10 +
    1.11 +$(bin): $(obj)
    1.12 +	$(CC) -o $@ $(obj) $(LDFLAGS)
    1.13 +
    1.14 +.PHONY: clean
    1.15 +clean:
    1.16 +	rm -f $(obj) $(bin)