blob: 0e3b4951a384924d2833a60bf2a382534157d7d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CC="i686-sb-gcc"
CFLAGS = -O2 -Wall -Wextra -pedantic -Wimplicit-fallthrough -static
LIB=-L../json -L../json/hashmap -ljson -lhashmap
INC=-I../json/
BINS=test
all: $(BINS)
test.o: test.c
$(CC) $(CFLAGS) $(INC) $(LIB) -o $@ -c $<
test: test.o
$(CC) $(CFLAGS) -o $@ $^ $(LIB)
clean:
rm test.o test
|