Files
concurrency-in-action/ch1/Makefile
2014-04-22 21:57:19 -04:00

20 lines
248 B
Makefile

CPP = g++-4.8
CPPFLAGS = -g -std=c++0x
OFLAG = -o
.SUFFIXES : .o .cpp .c
.cpp.o :
$(CPP) $(CPPFLAGS) -c $<
.c.o :
$(CPP) $(CPPFLAGS) -c $<
PROGS = hello
all: $(PROGS)
hello: hello.o
$(CPP) $(OFLAG) hello hello.o
clean:
rm -f ${PROGS} *.o