mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-01-22 09:19:55 +00:00
makefile
This commit is contained in:
parent
86463e38bf
commit
755417a3f0
12
src/Makefile
Normal file
12
src/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
CC=gcc
|
||||
CFLAGS=-DDEBUG_GRID_MAIN
|
||||
DEPS=dir.o rnd.o grid.o
|
||||
|
||||
wordsearch: $(DEPS)
|
||||
$(CC) -o wordsearch $(DEPS) $(CFLAGS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm $(DEPS)
|
Loading…
x
Reference in New Issue
Block a user