Files
concurrency-in-action/ch1/Makefile
2016-10-31 23:45:35 -04:00

20 lines
244 B
Makefile

CPP = g++
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