]> git.ozlabs.org Git - petitboot/blob - Makefile
Initial gitification of petitboot
[petitboot] / Makefile
1 CC=gcc
2 TWIN_CFLAGS=$(shell pkg-config --cflags libtwin)
3 TWIN_LDFLAGS=$(shell pkg-config --libs libtwin)
4
5 LDFLAGS = $(TWIN_LDFLAGS)
6 CFLAGS = -O0 -ggdb -Wall $(TWIN_CFLAGS)
7
8 OBJFILES = petitboot.o devices.o
9
10 petitboot: $(OBJFILES)
11         $(CC) $(LDFLAGS) -o $@ $^
12
13 clean:
14         rm -f petitboot
15         rm -f *.o