amiga_imgv

annotate Makefile @ 0:a4788c959918

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 25 Oct 2017 19:34:53 +0300
parents
children 663471a80c21
rev   line source
nuclear@0 1 src = $(wildcard src/*.c) $(wildcard src/amiga/*.c)
nuclear@0 2 obj = $(src:.c=.o)
nuclear@0 3 bin = imgv
nuclear@0 4
nuclear@0 5 CC = vc
nuclear@0 6 CFLAGS = -Isrc -Isrc/amiga
nuclear@0 7 LDFLAGS = -lamiga
nuclear@0 8
nuclear@0 9 $(bin): $(obj)
nuclear@0 10 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 11
nuclear@0 12 .PHONY: clean
nuclear@0 13 clean:
nuclear@0 14 rm -f $(obj) $(bin)