mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-22 13:49:18 +08:00
Rename to text_xy
This commit is contained in:
parent
78869c9dad
commit
c0382999a1
13
Makefile
13
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user