Blame | Last modification | View Log | RSS feed
#
#
#
ifndef BASE
BASE=../../..
endif
include $(BASE)/config/config.mk
PROGS= simple hello hello1 hello2 test0 treef1 treec1 treec2
OBJS=common.o
include $(BASE)/config/example.mk
simple:
make -f $(SUBMAKE) APP=simple INIT=initfs.o OTHEROBJS=
hello:
make -f $(SUBMAKE) APP=hello INIT=initfs.o OTHEROBJS=
hello1:
make -f $(SUBMAKE) APP=hello1 INIT=initfs.o OTHEROBJS=common.o
hello2:
make -f $(SUBMAKE) APP=hello2 INIT=initfs.o OTHEROBJS=common.o
test0:
make -f $(SUBMAKE) APP=test0 INIT=initfs.o OTHEROBJS=common.o
treef1:
make -f $(SUBMAKE) APP=treef1 INIT=initfs.o OTHEROBJS=common.o
treec1:
make -f $(SUBMAKE) APP=treec1 INIT=initfs.o OTHEROBJS=common.o
treec2:
make -f $(SUBMAKE) APP=treec2 INIT=initfs.o OTHEROBJS=common.o
#
#
#
.PHONY: util
util: tdump.exe jdump.exe sa.exe road.exe wait.exe
tdump.exe: tdump.c util.c
gcc -s -Wimplicit-function-declaration -Wall \
-I$(BASE)/include/trace tdump.c util.c -o tdump.exe
jdump.exe: jdump.c util.c
gcc -s -Wimplicit-function-declaration -Wall \
-I$(BASE)/include/trace jdump.c util.c -o jdump.exe
sa.exe: sa.c util.c distr.c
gcc -s -Wimplicit-function-declaration -Wall \
-I$(BASE)/include/trace sa.c util.c -o sa.exe
road.exe: road.c util.c distr.c
gcc -s -Wimplicit-function-declaration -Wall \
-I$(BASE)/include/trace road.c util.c -o road.exe
wait.exe: wait.c util.c distr.c
gcc -s -Wimplicit-function-declaration -Wall \
-I$(BASE)/include/trace wait.c util.c -o wait.exe
#include $(BASE)/config/example.mk