Mercurial > hg > forks > pwpunix
annotate peluce/Makefile @ 82:1013256040d5
Clean up build process.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 19 Feb 2013 00:39:19 +0200 |
parents | 6549bf229549 |
children |
rev | line source |
---|---|
23 | 1 include ../config.mak |
2 | |
3 TARGETS=peluce$(BINEXT) | |
4 | |
5 all: $(TARGETS) | |
6 | |
7 OBJS=main.o planes.o font.o sprites.o musa.o landscroll.o ../pwplib.a | |
8 | |
9 include ../Makefile.inc | |
10 | |
11 font.h: font-gen.pl | |
12 perl $< > $@ | |
13 | |
14 sprites.o: sprites.c sprites.h | |
15 $(CC) $(CFLAGS) -c -o $@ $< | |
16 | |
72 | 17 peluce$(BINEXT): $(OBJS) pwpdemo.h |
82 | 18 $(CC) -o $@ $(OBJS) $(LDFLAGS) |
23 | 19 |