Update Makefile

This commit is contained in:
Wang Yaofu
2021-08-25 18:50:22 +08:00
committed by GitHub
parent 97f200b42f
commit ec4747178f
+2 -2
View File
@@ -35,7 +35,7 @@ $(PROJECT) : $(OBJS) $(MODULE)
@echo "+--------------------------------------------+" @echo "+--------------------------------------------+"
clean: clean:
rm -rf *.o *.a *_unittest rm -rf *.o *.a *_unittest ../crc/*.o
install : install :
test -d ../test || mkdir -p ../test test -d ../test || mkdir -p ../test
@@ -46,4 +46,4 @@ install :
%.o : %.c %.o : %.c
$(CC) $(INC) -c $< -o $@ $(CC) $(INC) -c $< -o $@
%.o : %.cc %.o : %.cc
$(CC) $(INC) -c $< -o $@ $(CC) $(INC) -c $< -o $@