annotate Makefile @ 12:df40b5e4ca71

Fix Makefile.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 15 Mar 2013 15:48:38 +0200
parents d9914dd6ba6b
children 2ac93f2b93ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 # mAKEFiLE fOR 3x666 bY oCSA
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 CC = gcc
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3
12
df40b5e4ca71 Fix Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
4 CFLAGS = -O3 -march=core2
df40b5e4ca71 Fix Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
5
df40b5e4ca71 Fix Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
6 CFLAGS += -g -Wall `sdl-config --cflags`
df40b5e4ca71 Fix Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
7 LDFLAGS = `sdl-config --libs` -lm
0
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
5
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
9 3x666: 3x666.o
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
10 $(CC) -o $@ $+ $(LDFLAGS)
0
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
5
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
12 3x666.o: 3x666.c config.h 3xfont.h
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
13 $(CC) $(CFLAGS) -c -o $@ $<