1 include ..
/..
/configure.mk
5 SOURCES
= $(shell ls
{..
/..
/src
,.
}/*.
cpp | grep
-v
'src/main.cpp')
6 OBJECTS
= $(SOURCES
:.
cpp=.o
)
7 EXECUTABLE
= test_purplehaze
9 all: $(SOURCES
) $(EXECUTABLE
)
11 $(EXECUTABLE
): $(OBJECTS
)
12 $(CXX
) $(CXXFLAGS
) -o
$@
$(OBJECTS
)
15 rm -f
$(OBJECTS
) $(EXECUTABLE
)
18 $(CXX
) $(CXXFLAGS
) -c
-o
$@
$<