mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
Unattended Installation bearbeitet. HTTP/FTP-Installation nun moeglich. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@449 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
34 lines
529 B
Makefile
34 lines
529 B
Makefile
#
|
|
# Installer Makefile by Michael Tremer for IPFire.org
|
|
#
|
|
|
|
CC = gcc
|
|
CFLAGS = -Os -Wall
|
|
INCLUDE = -I/opt/i586-uClibc/include
|
|
|
|
LD = gcc
|
|
LDFLAGS = -L/install/lib
|
|
LIBS = -lnewt -lslang -lpci
|
|
|
|
COMPILE = $(CC) -c $(INCLUDE) $(CFLAGS)
|
|
|
|
LINK = $(LD) $(LDFLAGS)
|
|
|
|
all : programs
|
|
|
|
programs : install
|
|
|
|
clean :
|
|
-rm -f *.o install core
|
|
|
|
######
|
|
|
|
OBJS=main.o ide.o cdrom.o nic.o net.o config.o ../libsmooth/libsmooth.o \
|
|
usb.o scsi.o unattended.o
|
|
|
|
install: $(OBJS)
|
|
$(LINK) $(OBJS) -o $@ $(LIBS)
|
|
|
|
%.o : %.c
|
|
$(COMPILE) $< -o $@
|