Mercurial > hg > forks > pwpunix
annotate peluce/Makefile @ 72:6549bf229549
Fix build.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 Aug 2012 03:09:08 +0300 |
parents | c6ecac58120a |
children | 1013256040d5 |
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 |
65 | 18 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) |
23 | 19 |