adde Makefile
This commit is contained in:
parent
5153dced8b
commit
719a91ab24
5 changed files with 64 additions and 46 deletions
20
tortoise/Makefile
Normal file
20
tortoise/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Basic Makefile for the tortoise package.
|
||||
|
||||
CFLAGS =
|
||||
LIBS =
|
||||
|
||||
.PHONY: clean build run
|
||||
|
||||
build: tortoise
|
||||
|
||||
clean:
|
||||
rm -f tortoise tortoise.o
|
||||
|
||||
run: tortoise
|
||||
./tortoise
|
||||
|
||||
tortoise: tortoise.o
|
||||
gcc $< -o $@ $(LIBS)
|
||||
|
||||
tortoise.o: tortoise.c
|
||||
gcc -c $< -o $@ $(CFLAGS)
|
Loading…
Add table
Add a link
Reference in a new issue