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
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
82
1013256040d5 Clean up build process.
Matti Hamalainen <ccr@tnsp.org>
parents: 72
diff changeset
18 $(CC) -o $@ $(OBJS) $(LDFLAGS)
23
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19