ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/plugins/linux/Makefile
Revision: 1.1
Committed: Fri Mar 8 14:54:32 2002 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
Log Message:
Makefile for the linux ihost plugin. Links statically against libukcprog
which is also in the CVS repository.

File Contents

# Content
1 # $Id$
2
3 # where libukcprog can be found for compiling
4 LIBUKCPROG = ../libukcprog
5
6 CFLAGS = -O3 -Wall
7
8 INCLUDES = -I${LIBUKCPROG}
9 LIBS = -L${LIBUKCPROG} -lukcprog
10
11 all: linux
12
13 ${LIBUKCPROG}/libukcprog.a:
14 cd ${LIBUKCPROG} && $(MAKE) libukcprog.a
15
16 linux.o: linux.c
17 ${CC} ${CFLAGS} -c ${INCLUDES} linux.c
18
19 linux: linux.o ${LIBUKCPROG}/libukcprog.a
20 ${CC} -static ${CFLAGS} -o linux linux.o ${LIBS}
21
22 clean:
23 rm -f linux linux.o
24 cd ${LIBUKCPROG} && $(MAKE) clean