mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
33
src/install+setup/setup/Makefile
Normal file
33
src/install+setup/setup/Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# $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 $@
|
||||
Reference in New Issue
Block a user