Subversion Repositories RepoView

Rev

Rev 3 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 1 2024-08-20 19:18:25Z nishi $
2
 
3
PWD = `pwd`
4
PLATFORM = generic
5
 
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) EXTOBJS="`./objs`" EXTLIBS="`./libs`"
7
 
8
.PHONY: all clean ./CGI
9
 
10
all: ./CGI
11
 
12
./CGI:: check objs libs
13
	$(MAKE) -C $@ $(FLAGS)
14
 
15
objs:: objs.c check
16
	cc -o $@ objs.c
17
 
18
libs:: libs.c check
19
	cc -o $@ libs.c
20
 
21
check:: check.c config.h
22
	cc -o $@ check.c
23
	./check
24
 
25
clean:
26
	$(MAKE) -C ./CGI clean $(FLAGS)
27
	rm -f objs libs check