view nykyaeka/Makefile @ 43:093315d84a22

Add a small delay in SDL audio pseudo-loopflush function to avoid tightlooping in prod main loops (explained better in the added comment.)
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 May 2010 05:07:33 +0300
parents c3622b53a23e
children
line wrap: on
line source

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)