mirror of
https://github.com/RubyMetric/chsrc.git
synced 2024-11-23 22:47:09 +08:00
18 lines
246 B
Makefile
18 lines
246 B
Makefile
CFLAGS =
|
|
|
|
TARGET = target
|
|
#=======================
|
|
|
|
all:
|
|
@echo Compile
|
|
@gcc chsrc.c $(CFLAGS) -o $(TARGET)
|
|
|
|
test:
|
|
@gcc test_helper.c -o test
|
|
@./test
|
|
|
|
clean:
|
|
-@rm *.exe 2>/dev/null
|
|
-@rm $(TARGET) 2>/dev/null
|
|
-@rm ./test 2>/dev/null
|