Merge pull request #94 from nihuynh/Makefile_fix

fixing makefile
This commit is contained in:
Victor Bombi
2019-04-16 12:45:18 +02:00
committed by GitHub

View File

@@ -46,11 +46,18 @@ endif
.cpp.o:
$(CXX) $(CXXFLAGS) -c -o $@ $<
all:imgui_example
all:$(OUTPUTNAME)
@echo Build complete for $(ECHO_MESSAGE)
imgui_example:$(OBJS)
$(OUTPUTNAME):$(OBJS)
$(CXX) -o $(OUTPUTNAME) $(OBJS) $(CXXFLAGS) $(LINKFLAGS)
clean:
rm $(OBJS)
rm -f $(OBJS)
fclean: clean
rm -f $(OUTPUTNAME)
re: fclean all
.PHONY: all clean fclean re