summaryrefslogtreecommitdiff
blob: 9133f54f9fac4745defc3ec5699f32bf3ca493ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- makefile.orig	2012-05-21 14:59:56.000000000 +0200
+++ makefile	2012-05-21 15:00:47.000000000 +0200
@@ -13,9 +13,6 @@
 
 # see also ./make_pc for a simpler script, not requiring make
 
-CC=gcc
-CFLAGS=-O2 -DNXT	# on some systems add: -I/usr/include
-
 # CC=gcc -m32 	# 32bit compilation on a 64bit system
 # for a more picky compilation use gcc-4 and:
 # CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g -DNXT -DPC
@@ -43,7 +40,7 @@
 	tl_mem.o tl_rewrt.o tl_cache.o
 
 spin:	$(SPIN_OS) $(TL_OS) spin.o
-	$(CC) $(CFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
 
 spin.o:	spin.y
 	$(YACC) $(YFLAGS) spin.y