17 lines
217 B
Makefile
17 lines
217 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -I../src/include -DDEBUG -g
|
|
SRC=test.c
|
|
OBJ=$(SRC:.c=.o)
|
|
|
|
OBJ+=../src/random.o ../src/read_file.o
|
|
|
|
all: test
|
|
|
|
test: $(OBJ)
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o test
|
|
|
|
.PHONY: all test clean
|