blob: 29adc16ed361f34df43e35c7064c7987e1c19d81 (
plain) (
blame)
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
34
|
--- Makefile.orig Thu Feb 7 13:33:59 2002
+++ Makefile Tue Apr 29 02:57:00 2003
@@ -26,10 +26,6 @@
# Please use a reasonably recent GNU make.
-CXX=g++
-CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes
-LDFLAGS=
-
OBJS=main.o picport.o hexfile.o program.o
PROG=picprog
@@ -38,6 +34,9 @@
$(PROG): $(OBJS)
$(CXX) $(LDFLAGS) $(OBJS) -o $@
+.cc.o:
+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $>
+
dep:
$(CXX) -M $(CXXFLAGS) *.cc > .depend
@@ -55,10 +54,3 @@
install: all
install -c -o 0 -g 0 -m 755 $(PROG) /usr/local/bin/
install -c -o 0 -g 0 -m 644 *.1 /usr/local/man/man1/
-
-#
-# include a dependency file if one exists
-#
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
|