Basic build system based on Makefile #1
Merged
Monaxys
merged 3 commits from build-system
into master
2 years ago
5 changed files with 22 additions and 1 deletions
@ -0,0 +1,12 @@ |
|||||||
|
include config.mk |
||||||
|
|
||||||
|
c-jack: src/main.c |
||||||
|
$(CC) $^ -o $@
|
||||||
|
|
||||||
|
%.o: src/%.c |
||||||
|
$(CC) $^ -c
|
||||||
|
|
||||||
|
clean: |
||||||
|
rm -f *.o c-jack
|
||||||
|
|
||||||
|
.PHONY: clean |
@ -1,3 +1,3 @@ |
|||||||
# C-jack |
# C-jack |
||||||
|
|
||||||
Tetminal version of blackjack. |
Terminal version of blackjack. |
||||||
|
Loading…
Reference in new issue