Author: Andreas Tille <tille@debian.org>
LastChanged: Fri, 02 Aug 2013 13:24:50 +0200
Description: Propagate hardening options

--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,10 @@
 # For Sun's compilers under Solaris, ``-fast'' works well.
 # For gcc, ``-O2'' works well.
 CC=cc
-CFLAGS=-O
+CFLAGS+=-g -O2 -Wall
 LDLIBS=-lm
  
 sim4:
-	$(CC) -o sim4 -I. $(CFLAGS) *.c $(LDLIBS)
+	$(CC) -o sim4 -I. $(CFLAGS) *.c $(LDLIBS) $(LDFLAGS)
 clean:
 	rm -f sim4 *.o
