Mercurial > hg > forks > pwpunix
diff nykyaeka/Makefile @ 23:c3622b53a23e
Clean up the build system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 23 May 2010 22:59:25 +0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nykyaeka/Makefile Sun May 23 22:59:25 2010 +0300 @@ -0,0 +1,21 @@ +include ../config.mak + +TARGETS=nykyaeka$(BINEXT) + +all: $(TARGETS) + +OBJS=sprites.o main.o musa.o planes.o landscro.o ../pwplib.a + +include ../Makefile.inc + +sprites.o: sprites.c sprites.h font.h + $(CC) $(CFLAGS) -c -o $@ $< + +musa.o: musa.c musa.h + +%.h: %.pl + perl $< > $@ + +nykyaeka$(BINEXT): $(OBJS) + $(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS) +