summaryrefslogtreecommitdiff
blob: faedfa0a30a53743f72ae6ecc5a96ba7ab7d1102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: clit18/Makefile
===================================================================
--- a/clit18/Makefile
+++ b/clit18/Makefile
@@ -1,9 +1,9 @@
 all: clit
 
-CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
+CFLAGS+=-funsigned-char -I ../lib -I ../lib/des -I . 
 clean:
 	rm -f *.o clit
 
 clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a 
-	gcc -o clit $^  ../libtommath-0.30/libtommath.a
+	$(CC) $(LDFLAGS) -o clit $^ -ltommath
 
Index: lib/Makefile
===================================================================
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,6 +1,6 @@
 all: openclit.a
 
-CFLAGS=-O3 -Wall -Ides -Isha -Inewlzx -I.
+CFLAGS+=-Ides -Isha -Inewlzx -I.
 clean:
 	rm -f *.o openclit.a des/*.o lzx/*.o sha/*.o