mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-08-01 00:59:07 +00:00
makefile
This commit is contained in:
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)
|
Reference in New Issue
Block a user