summaryrefslogtreecommitdiff
path: root/userland/test/Makefile
blob: 8c59229c4dccb8cb56c99e1d64891ee646972cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC="i686-sb-gcc"
CFLAGS = -g -Wall -Wextra -pedantic -Wimplicit-fallthrough -static
BINS=test
all: $(BINS)

test.o: test.c
	$(CC) $(CFLAGS) -o $@ -c $<

test: test.o
	$(CC) $(CFLAGS) -o $@ $^ $(LIB)

clean:
	rm test.o test