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.

15 lines
205 B

11 years ago
TESTS=test-bitmap test-database
all: $(TESTS)
11 years ago
CFLAGS=-Wall -Wextra -O0 -g -ggdb -pedantic
%.o: %.c
11 years ago
gcc $(CFLAGS) -o $@ $<
11 years ago
11 years ago
test-%: ../src/%.c %.c
gcc $(CFLAGS) $(SRC) -o $@ $^
11 years ago
clean:
11 years ago
rm -f $(TESTS)