Subversion Repositories Tewi

Rev

Rev 240 | Rev 251 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 240 Rev 244
Line 1... Line 1...
1
# $Id: Makefile 240 2024-10-03 05:54:55Z nishi $
1
# $Id: Makefile 244 2024-10-03 20:04:15Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
PLATFORM_IDENT = NOT_WINDOWS
5
PLATFORM_IDENT = NOT_WINDOWS
6
PREFIX = /usr/local
6
PREFIX = /usr/local
7
MODULE = ./Module
7
MODULE = ./Module
-
 
8
OBJ = o
8
 
9
 
9
include Platform/$(PLATFORM).mk
10
include Platform/$(PLATFORM).mk
10
 
11
 
11
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
12
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) PREFIX=$(PREFIX)
12
 
13
 
Line 22... Line 23...
22
 
23
 
23
./Tool/itworks: ./Tool/itworks.c config.h
24
./Tool/itworks: ./Tool/itworks.c config.h
24
	cc -o $@ ./Tool/itworks.c
25
	cc -o $@ ./Tool/itworks.c
25
 
26
 
26
./Server:: ./Common ./Tool/option ./Tool/genconf ./Tool/itworks
27
./Server:: ./Common ./Tool/option ./Tool/genconf ./Tool/itworks
27
	$(MAKE) -C $@ $(FLAGS) EXTOBJS="`./Tool/option objs ../`" EXTLIBS="`./Tool/option libs ../ $(PLATFORM_IDENT)`" EXTCFLAGS="`./Tool/option cflags ../`" EXTLDFLAGS="`./Tool/option ldflags ../`"
28
	$(MAKE) -C $@ $(FLAGS) EXTOBJS="`./Tool/option objs ../ $(PLATFORM_IDENT) $(OBJ)`" EXTLIBS="`./Tool/option libs ../ $(PLATFORM_IDENT) $(OBJ)`" EXTCFLAGS="`./Tool/option cflags ../ $(PLATFORM_IDENT) $(OBJ)`" EXTLDFLAGS="`./Tool/option ldflags ../ $(PLATFORM_IDENT) $(OBJ)`"
28
 
29
 
29
./Module:: ./Common
30
./Module:: ./Common
30
	$(MAKE) -C $@ $(FLAGS)
31
	$(MAKE) -C $@ $(FLAGS)
31
 
32
 
32
./Common::
33
./Common::