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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 include ../config.mak
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 TARGETS=peluce$(BINEXT)
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 all: $(TARGETS)
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 OBJS=main.o planes.o font.o sprites.o musa.o landscroll.o ../pwplib.a
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 include ../Makefile.inc
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 font.h: font-gen.pl
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 perl $< > $@
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 sprites.o: sprites.c sprites.h
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 $(CC) $(CFLAGS) -c -o $@ $<
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
72
6549bf229549 Fix build.
Matti Hamalainen <ccr@tnsp.org>
parents: 65
diff changeset
17 peluce$(BINEXT): $(OBJS) pwpdemo.h
65
c6ecac58120a Clean up some warnings.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
18 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
23
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19