git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: add 'all' target and run 'ARGS' to Makefile
7439313Andy Arvanitis
pcc/support/Makefile+4−1
@@ -79,10 +79,13 @@ $(BIN): $(OBJS)
79 @echo "Creating" $@
79 @echo "Creating" $@
80 @$(CXX) $(CXXFLAGS) $(INCLUDES) -MMD -MP -c $< -o $@
80 @$(CXX) $(CXXFLAGS) $(INCLUDES) -MMD -MP -c $< -o $@
81
81
82+.PHONY: all
83+all: release
84+
82.PHONY: clean
85.PHONY: clean
83clean:
86clean:
84 @-rm -rf $(OUTPUT)
87 @-rm -rf $(OUTPUT)
85
88
86.PHONY: run
89.PHONY: run
87run:
90run:
88− @$(BIN_DIR)/$(BIN)
91+ @$(BIN_DIR)/$(BIN) $(ARGS)