diff Makefile @ 25:f896fe6a98da

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 15 Mar 2013 23:35:52 +0200
parents 2ac93f2b93ae
children
line wrap: on
line diff
--- a/Makefile	Fri Mar 15 23:21:08 2013 +0200
+++ b/Makefile	Fri Mar 15 23:35:52 2013 +0200
@@ -1,21 +1,16 @@
-# mAKEFiLE fOR 3x666 bY oCSA
+#
+# Configuration settings for Linux and generic UNIX
+# See other Makefile.* files for more options.
+#
+
+# C-compiler, flags and linker flags
+CC=gcc
 SDL_CFLAGS=`sdl-config --cflags`
 SDL_LDFLAGS=`sdl-config --libs`
 
-CC = gcc
-CFLAGS = -O3 -march=core2
-
-
-CFLAGS += -g -W -Wall $(SDL_CFLAGS)
-LDFLAGS = $(SDL_LDFLAGS) -lm
-
+# Miscellaneous
+BINPATH=
+OBJPATH=obj/unix/
+EXEEXT=
 
-3x666: 3x666.o
-	$(CC) -o $@ $+ $(LDFLAGS)
-
-3x666.o: 3x666.c config.h 3xfont.h
-	$(CC) $(CFLAGS) -c -o $@ $<
-
-clean:
-	$(RM) 3x666.o 3x666
-
+include Makefile.gen