Browse Source

add makefile

master
Dnomd343 5 years ago
parent
commit
dbe2e61271
  1. 15
      src/engine/Makefile

15
src/engine/Makefile

@ -0,0 +1,15 @@
CC := g++
RM = rm -rf
TAR = engine
OBJ = HRD_cal.o HRD_analy.o HRD_group.o HRD_statistic.o main.o
$(TAR):$(OBJ)
$(CC) $(OBJ) -o $(TAR)
$(RM) $(OBJ)
%.o:%.cpp
$(CC) -O3 -c $^ -o $@
.PHONY:
clear:
$(RM) $(OBJ) $(TAR)
Loading…
Cancel
Save