initial commit
This commit is contained in:
16
test/Makefile
Normal file
16
test/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -I../src/include -DDEBUG -g
|
||||
SRC=test.c
|
||||
OBJ=$(SRC:.c=.o)
|
||||
|
||||
OBJ+=../src/random.o
|
||||
|
||||
all: test
|
||||
|
||||
test: $(OBJ)
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o test
|
||||
|
||||
.PHONY: all test clean
|
Reference in New Issue
Block a user