Rename to text_xy

This commit is contained in:
Aoran Zeng 2023-09-05 09:32:42 +08:00
parent 78869c9dad
commit c0382999a1

View File

@ -1,24 +1,23 @@
CFLAGS =
TARGET = chsrc
TEST_TARGET = test_$(TARGET)
#=======================
all:
@echo Compile
@gcc chsrc.c $(CFLAGS) -o $(TARGET)
test:
@gcc test_xy.c -o $(TEST_TARGET)
@./$(TEST_TARGET)
test_cmd: $(TARGET)
test: $(TARGET)
./$(TARGET) list mirror
./$(TARGET) list target
./$(TARGET) get ruby
./$(TARGET) get python
test_xy:
@gcc test_xy.c -o xy
@./xy
clean:
-@rm *.exe 2>/dev/null
-@rm $(TARGET) 2>/dev/null
-@rm ./test 2>/dev/null
-@rm ./xy 2>/dev/null