Dnomd343
5 years ago
1 changed files with 15 additions and 0 deletions
@ -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…
Reference in new issue