CFLAGS=-O3 -fomit-frame-pointer -pipe -Wall -Wstrict-prototypes -s
LDFLAGS=-s -Wl,-warn-common
LDLIBS=-L ../.. -ldialog -Wl,-Bstatic -lncurses -Wl,-Bdynamic

all: setup
	strip setup

setup: setup.o bootpc.o

install:
	install -m 644 setup.help /usr/share/setup.help

clean:
	rm -f *.o setup

test: setup
	./setup

