mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
34 lines
507 B
Makefile
34 lines
507 B
Makefile
#
|
|
# $Id: Makefile,v 1.3 2003/12/11 11:25:54 riddles Exp $
|
|
#
|
|
|
|
CC = gcc
|
|
CFLAGS = -O2 -Wall
|
|
INCLUDE =
|
|
|
|
LD = gcc
|
|
LDFLAGS =
|
|
LIBS = -lnewt -lslang
|
|
|
|
COMPILE = $(CC) -c $(INCLUDE) $(CFLAGS)
|
|
|
|
LINK = $(LD) $(LDFLAGS)
|
|
|
|
all : programs
|
|
|
|
programs : setup
|
|
|
|
clean :
|
|
-rm -f *.o setup core
|
|
|
|
######
|
|
|
|
OBJS=main.o hostname.o domainname.o passwords.o isdn.o networking.o misc.o \
|
|
dhcp.o keymap.o timezone.o ../libsmooth/libsmooth.o
|
|
|
|
setup: $(OBJS)
|
|
$(LINK) $(OBJS) -o $@ $(LIBS)
|
|
|
|
%.o : %.c
|
|
$(COMPILE) $< -o $@
|