Subversion Repositories RepoView

Rev

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

Rev 3 Rev 24
Line 1... Line 1...
1
# $Id: Makefile 3 2024-08-20 21:05:24Z nishi $
1
# $Id: Makefile 24 2024-08-21 17:10:49Z 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`" EXTCFLAGS=""
7
 
7
 
8
.PHONY: all clean format ./CGI
8
.PHONY: all clean format ./CGI
9
 
9
 
10
all: ./CGI
10
all: ./CGI
11
 
11
 
Line 22... Line 22...
22
	cc -o $@ check.c
22
	cc -o $@ check.c
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 cflags
28
 
28
 
29
format:
29
format:
30
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`
30
	clang-format --verbose -i `find . -name "*.c" -or -name "*.h"`