Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = g++
- CFLAGS = -c -std=c++20 -Wall -Werror -pedantic -pedantic-errors -g
- SRCS=auction.cpp main.cpp
- OBJS=$(addsuffix .o,$(basename $(SRCS)))
- EXE=auction
- .PHONY : clean all
- all : $(EXE)
- $(EXE) : $(OBJS)
- $(CC) -o $@ $(OBJS)
- $(OBJS) : %.o : %.cpp
- $(CC) $(CFLAGS) $<
- clean :
- rm $(OBJS) $(EXE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement