source: hvcontrol/Makefile.rules@ 35

Last change on this file since 35 was 14, checked in by lstark, 16 years ago
first version of hvcontrol added
File size: 357 bytes
Line 
1include Dep.d
2
3%.d :
4 @echo " - Generating dependencies" $@
5 @$(CC) -MM $(SOURCES) $(INCDIRS) \
6 | sed 's/^\(.*\).o:/$@ \1.o:/' > $@
7
8%.o : %.c
9 $(CC) $(CFLAGS) $(INCDIRS) -c -o $@ $<
10
11%.o : %.cc
12 $(G++) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
13
14%.o : %.cpp
15 $(G++) $(CPPFLAGS) $(INCDIRS) -c -o $@ $<
16
17rmobj:
18 @rm -f *.o
19
20rmbak:
21 @rm -f *~
22
23rmdep:
24 @rm -f *.d
Note: See TracBrowser for help on using the repository browser.