Add est_cmd target

This commit is contained in:
Aoran Zeng 2023-09-02 20:06:05 +08:00
parent f01d02e3a9
commit 4a6f24a258

View File

@ -1,6 +1,6 @@
CFLAGS = CFLAGS =
TARGET = target TARGET = chsrc
#======================= #=======================
all: all:
@ -11,6 +11,12 @@ test:
@gcc test_helper.c -o test @gcc test_helper.c -o test
@./test @./test
test_cmd: $(TARGET)
./$(TARGET) list mirror
./$(TARGET) list target
./$(TARGET) get ruby
./$(TARGET) get python
clean: clean:
-@rm *.exe 2>/dev/null -@rm *.exe 2>/dev/null
-@rm $(TARGET) 2>/dev/null -@rm $(TARGET) 2>/dev/null