summaryrefslogtreecommitdiff
blob: 3d0fff8d86f7a34d3a037d79018675cf94bbdc56 (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
29
30
31
32
33
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,9 @@
-CC=g++
-INSTDIR=/usr/local/bin
-CFLAGS=-Wall
-STRINGLIB=bytevector.o stringlist.o
-
-htmlinc :htmlinc.o
-	$(CC) $(STRINGLIB) htmlinc.o -o htmlinc $(CFLAGS)
-
-htmlinc.o: htmlinc.cc stringlist.o bytevector.o 
-	$(CC) -c htmlinc.cc $(CFLAGS)
+htmlinc: bytevector.o stringlist.o
 
 headers: text2h 
 	text2h help <help.txt >help.h 
 
-text2h: text2h.o bytevector.o stringlist.o 
-	$(CC) $(STRINGLIB) text2h.o -o text2h $(CFLAGS)
-
-text2h.o: text2h.cc
-	$(CC) -c text2h.cc $(CFLAGS)
-
-bytevector.o: bytevector.h bytevector.cc
-	${CC} -c bytevector.cc $(CFLAGS)
-
-stringlist.o: bytevector.o stringlist.h stringlist.cc
-	$(CC) -c stringlist.cc $(CFLAGS)
+text2h: bytevector.o stringlist.o
 
 clean:
 	rm *.o text2h htmlinc