Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=g++
- CFLAGS=-c -Wall
- all: hello
- hello: main.o factorial.o hello.o
- $(CC) $^ -o hello
- %.o: %.cpp
- $(CC) $(CFLAGS) %.cpp
- clean:
- rm *.o hello
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement