img2gba

view Makefile @ 2:5f314b692d9e

fixed missing semi-colons in generated source
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Jun 2014 06:34:58 +0300
parents
children
line source
1 PREFIX = /usr/local
3 src = $(wildcard src/*.c)
4 obj = $(src:.c=.o)
5 bin = img2gba
7 CFLAGS = -pedantic -Wall -g
8 LDFLAGS = -limago
10 $(bin): $(obj)
11 $(CC) -o $@ $(obj) $(LDFLAGS)
14 .PHONY: clean
15 clean:
16 rm $(obj) $(bin)
18 .PHONY: install
19 install:
20 cp $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin)