Lines 1-33
Link Here
|
1 |
--- Makefile.orig Mon Jan 12 22:42:23 2004 |
1 |
--- Makefile.orig Wed May 11 00:29:24 2005 |
2 |
+++ Makefile Mon Jan 12 22:44:01 2004 |
2 |
+++ Makefile Wed May 11 00:29:43 2005 |
3 |
@@ -26,10 +26,6 @@ |
3 |
@@ -26,9 +26,9 @@ |
4 |
|
4 |
|
5 |
# Please use a reasonably recent GNU make. |
5 |
# Please use a reasonably recent GNU make. |
6 |
|
6 |
|
7 |
-CXX=g++ |
7 |
-CXX=g++ |
8 |
-CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes |
8 |
-CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes |
9 |
-LDFLAGS=-g |
9 |
-LDFLAGS=-s |
10 |
- |
10 |
+#CXX=g++ |
|
|
11 |
+#CXXFLAGS=-O2 -Wall -W -Wwrite-strings -Wmissing-prototypes |
12 |
+#LDFLAGS=-s |
13 |
|
11 |
OBJS=main.o picport.o hexfile.o program.o |
14 |
OBJS=main.o picport.o hexfile.o program.o |
12 |
PROG=picprog |
15 |
PROG=picprog |
13 |
|
16 |
@@ -59,6 +59,6 @@ |
14 |
@@ -37,6 +33,8 @@ |
17 |
# |
15 |
|
18 |
# include a dependency file if one exists |
16 |
$(PROG): $(OBJS) |
19 |
# |
17 |
$(CXX) $(LDFLAGS) $(OBJS) -o $@ |
|
|
18 |
+.cc.o: |
19 |
+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $> |
20 |
|
21 |
dep: |
22 |
$(CXX) -M $(CXXFLAGS) *.cc > .depend |
23 |
@@ -55,10 +53,3 @@ |
24 |
install: all |
25 |
install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/ |
26 |
install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/ |
27 |
- |
28 |
-# |
29 |
-# include a dependency file if one exists |
30 |
-# |
31 |
-ifeq (.depend,$(wildcard .depend)) |
20 |
-ifeq (.depend,$(wildcard .depend)) |
32 |
-include .depend |
21 |
-include .depend |
33 |
-endif |
22 |
-endif |
|
|
23 |
+#ifeq (.depend,$(wildcard .depend)) |
24 |
+#include .depend |
25 |
+#endif |