annotate Makefile @ 11:fcae85b39931

Slowly getting closer. Does not compile yet, and it's messy.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 15 Mar 2013 15:47:20 +0200
parents d9914dd6ba6b
children df40b5e4ca71
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
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 CC = gcc
0e4f2da58161 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
5
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
5 CFLAGS = -O3 -march=
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
6 CFLAGS = -O3 -march=core2 -g -Wall `sdl-config --cflags`
d9914dd6ba6b Cleanup.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
7 LIBS = `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 $@ $<