[e4d71f]: Makefile  Maximize  Restore  History

Download this file

26 lines (17 with data), 545 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC=$(CROSS_COMPILE)gcc
CFLAGS=-static -g -Wall -fPIC -mcpu=5208
INCLUDES=-I$(ROOTDIR)/include
LDFLAGS=-static -g -fPIC -lconfig -lcrypt
LIBRARIES= -L$(ROOTDIR)/lib
SOURCES=osoft.c cgic.c capture.c
OBJECTS=$(SOURCES:.c=.o)
all: $(SOURCES) osoft.cgi capture
osoft.cgi: osoft.o cgic.o
$(CC) osoft.o cgic.o $(LIBRARIES) $(LDFLAGS) -o $@
capture: capture.o cgic.o
$(CC) capture.o cgic.o $(LIBRARIES) $(LDFLAGS) -o $@
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $< -o $@
clean:
rm -rf *.o osoft.cgi osoft.cgi.gdb capture capture.gdb
romfs:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks