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.

21 lines
393 B

CFLAGS=-Wall -g
OBJS=$(subst .c,.o,$(wildcard *.c))
all: $(BIN)
$(BIN): $(OBJS)
$(CC) -o $(BIN) $(OBJS) $(LIBS)
demo: $(BIN)
/usr/share/debconf/frontend ./$(BIN)
22 years ago
# Size optimized and stripped binary target.
small: CFLAGS=-Os $(CFLAGS)
small: clean $(BIN)
strip --remove-section=.comment --remove-section=.note \
--strip-unneeded $(BIN)
-rm -f $(BIN) $(OBJS) *~