diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index ee5c1138..00000000 --- a/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -TARGET:=usdx -include Makefile.inc - -headers+=$(wildcard src/*.hpp) -sources+=$(wildcard src/*.cpp) - -############################################################################## - -.PHONY: all clean run - -all: $(TARGET) - -clean: - -$(RM) -r $(TARGET) $(objects) $(deps) - -run: $(TARGET) - ./$(TARGET) - -ifneq ($(MAKECMDGOALS),clean) --include $(deps) -endif - -############################################################################## -# normal build - -$(TARGET): $(objects) $(deps) - $(CXX) $(LDFLAGS) -o $(TARGET) $(objects) - -%.o: %.cpp - $(CXX) $(CXXFLAGS) -MMD -c $< -o $@ - -%.d: %.cpp - $(CXX) $(CXXFLAGS) -MM -c $< -MF $@ |