You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
229 B

5 years ago
SRC:= src/*.c
INCLUDE:=include/
LIB:=../target/release
BUILD:=build/
CFLAGS:= -g -Wall -pedantic
LFLAGS:= -L$(LIB) -lkhash
all: clean test
clean:
test:
gcc $(SRC) -I$(INCLUDE) $(CFLAGS) -o $(BUILD)/$@ $(LFLAGS)
$(BUILD)/$@