annotate Makefile.inc @ 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
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 CFLAGS += -I../pwplib
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 LDFLAGS +=
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 %.o: %.c %.h
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 $(CC) $(CFLAGS) -c -o $@ $<
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 %.o: %.c
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 $(CC) $(CFLAGS) -c -o $@ $<
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 clean:
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 $(RM) $(TARGETS) *.o *.exe
c3622b53a23e Clean up the build system.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12