Subversion Repositories RepoView

Rev

Rev 24 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# $Id: Makefile 1 2024-08-20 19:18:25Z nishi $

PWD = `pwd`
PLATFORM = generic

FLAGS = PWD=$(PWD) PLATFORM=$(PLATFORM) EXTOBJS="`./objs`" EXTLIBS="`./libs`"

.PHONY: all clean ./CGI

all: ./CGI

./CGI:: check objs libs
        $(MAKE) -C $@ $(FLAGS)

objs:: objs.c check
        cc -o $@ objs.c

libs:: libs.c check
        cc -o $@ libs.c

check:: check.c config.h
        cc -o $@ check.c
        ./check

clean:
        $(MAKE) -C ./CGI clean $(FLAGS)
        rm -f objs libs check