标签:targe ant blank makefile lan tar lib ade files
https://github.com/stbrumme/crc32
# simple Makefile CPP = g++ # files PROGRAM = Crc32Test LIBS = -lrt HEADERS = Crc32.h OBJECTS = Crc32.o Crc32Test.o # flags FLAGS = -O3 -Wall -pedantic -s default: $(PROGRAM) all: default $(PROGRAM): $(OBJECTS) Makefile $(CPP) $(OBJECTS) $(FLAGS) $(LIBS) -o $(PROGRAM) %.o: %.cpp $(HEADERS) Makefile $(CPP) $(FLAGS) -c $< -o $@ clean: -rm -f $(OBJECTS) $(PROGRAM) run: $(PROGRAM) ./$(PROGRAM)
标签:targe ant blank makefile lan tar lib ade files
原文地址:https://www.cnblogs.com/hshy/p/11739264.html