Subversion Repositories RepoView

Rev

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

Rev 1 Rev 3
Line 1... Line 1...
1
# $Id: Makefile 1 2024-08-20 19:18:25Z nishi $
1
# $Id: Makefile 3 2024-08-20 21:05:24Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
 
5
 
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) EXTOBJS="`./objs`" EXTLIBS="`./libs`"
6
FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) EXTOBJS="`./objs`" EXTLIBS="`./libs`"
7
 
7
 
8
.PHONY: all clean ./CGI
8
.PHONY: all clean format ./CGI
9
 
9
 
10
all: ./CGI
10
all: ./CGI
11
 
11
 
12
./CGI:: check objs libs
12
./CGI:: check objs libs
13
	$(MAKE) -C $@ $(FLAGS)
13
	$(MAKE) -C $@ $(FLAGS)
Line 23... Line 23...
23
	./check
23
	./check
24
 
24
 
25
clean:
25
clean:
26
	$(MAKE) -C ./CGI clean $(FLAGS)
26
	$(MAKE) -C ./CGI clean $(FLAGS)
27
	rm -f objs libs check
27
	rm -f objs libs check
-
 
28
 
-
 
29
format:
-
 
30
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`