summaryrefslogtreecommitdiff
path: root/src/main/make.code.deps
blob: 00985df2b6295d7f61157b361888112683617748 (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
34
# /*@@
#   @file      make.code.deps
#   @date      Fri Sep  1 02:06:14 2000
#   @author    Tom Goodale
#   @desc 
#   Additional dependency info for this directory.
#   @enddesc
#   @version $Header$ 
# @@*/

# Rule for when there is no C++ compiler
# In this case the flesh.cc file should be 
# compiled as C rather than C++.

ifeq ($(strip $(CXX)),none)

flesh.cc.o: flesh.c.o
	cp $< $@

flesh.c.o: flesh.c
	@echo Compiling $(SRCDIR)/flesh.cc
	$(COMPILE_C)
	@echo Postprocessing $(SRCDIR)/flesh.cc
	$(POSTPROCESS_C)

flesh.c: $(SRCDIR)/flesh.cc
	@echo $(DIVIDER)
	@echo Preprocessing $<
	cp $< $@

flesh.cc.d: $(SRCDIR)/flesh.cc
	$(C_DEPENDENCIES)

endif