Mercurial > hg > forks > pwpunix
annotate pwpzax/Makefile @ 82:1013256040d5
Clean up build process.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 19 Feb 2013 00:39:19 +0200 |
parents | 678924af9149 |
children |
rev | line source |
---|---|
23 | 1 include ../config.mak |
2 | |
38
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
3 TARGETS= |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
4 ifeq ($(XTARGET),sdl) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
5 TARGETS += zaxplay$(BINEXT) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
6 endif |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
7 ifeq ($(XTARGET),sdl-win32) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
8 TARGETS += zaxplay$(BINEXT) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
9 endif |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
10 ifeq ($(XTARGET),linux) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
11 TARGETS += orig$(BINEXT) |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
12 endif |
23 | 13 |
14 all: $(TARGETS) | |
15 | |
16 include ../Makefile.inc | |
17 | |
82 | 18 |
19 zaxplay$(BINEXT): zaxplay.o | |
20 $(CC) -o $@ $< $(LDFLAGS) | |
23 | 21 |
38
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
22 |
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
23 orig: orig.c |
82 | 24 $(CC) -o $@ $< $(LDFLAGS) |
38
678924af9149
Buildsystem changes, build zaxplay or orig only when the target probably allows it.
Matti Hamalainen <ccr@tnsp.org>
parents:
27
diff
changeset
|
25 |