--- Makefile.orig Mon Jan 12 22:42:23 2004 +++ Makefile Mon Jan 12 22:44:01 2004 @@ -26,10 +26,6 @@ # Please use a reasonably recent GNU make. -CXX=g++ -CXXFLAGS=-g -O2 -Wall -W -Wwrite-strings -Wmissing-prototypes -LDFLAGS=-g - OBJS=main.o picport.o hexfile.o program.o PROG=picprog @@ -37,6 +33,8 @@ $(PROG): $(OBJS) $(CXX) $(LDFLAGS) $(OBJS) -o $@ +.cc.o: + $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $> dep: $(CXX) -M $(CXXFLAGS) *.cc > .depend @@ -55,10 +53,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