summaryrefslogtreecommitdiff
path: root/bin/Makefile
blob: b7a6dc9af226b98062d8f47ef300e843d7b72836 (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
35
36
37
38
39
#############################################################################
#
#  Makefile for assignment 1
#
#############################################################################

include $(ACE_ROOT)/include/makeinclude/platform_macros.GNU

# CXX		= gcc 
CFILES		= clone.cpp 
OFILES		= clone.o
DFLAGS		= -b elf
CFLAGS		= $(CCFLAGS) -I$(ACE_ROOT)

#############################################################################
# C++ directives

.SUFFIXES: .cpp
.cpp.o:
	$(CXX) $(CFLAGS) -c $<
#############################################################################

clone: $(OFILES)
	$(CXX) $(CFLAGS) -o $@ $(OFILES)

clean:
	-/bin/rm -f *.o *.out *~ core

realclean: clean 
	-/bin/rm -fr clone

depend:
	g++dep -f Makefile $(CFILES)
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

clone.o : clone.cpp
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY