Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CFLAGS="-g -Wall"
- DEPS="foo.o bar.o baz.o"
- TARGET=progname
- .PHONY: clean all
- $(TARGET): $(DEPS)
- $(CXX) -o $(TARGET) $(CFLAGS) $(CXXFLAGS) $(DEPS)
- clean:
- rm $(TARGET) $(DEPS)
- all: $(TARGET)
Add Comment
Please, Sign In to add comment