summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: fbf2be2e957cfe5a615821518197f3214cc219c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DIR=.

include ${DIR}/Makefile_base

main: load main.o config_parser.o
	@./load c main config_parser.o

config_parser.o: compile config_parser.c config_parser.h
	@./compile config_parser.c
	
main.o: compile main.c main.h
	@./compile main.c


# HIGH LEVEL SPECIFIC TARGETS

SUBDIR=

arch: buildarch
	-@./buildarch ${SUBDIR}

build: main
	@for I in ${SUBDIR}; do 	( echo "$(CYAN)building $I$(NORM)" && cd $I && make && echo "$(CYAN)done.$(NORM)"); 	done;

doc: doxy_conf
	@echo -e "$(CYAN)calling doxygen$(NORM)"
	@doxygen doxy_conf
	@echo -e "$(CYAN)done.$(NORM)"

clean: cleanstd
	@if [ -f main ] ; then rm main; fi
	@echo -e "$(CYAN)done.$(NORM)"