summaryrefslogtreecommitdiffstats
path: root/makefile-djb/Makefile
blob: 12bf9605acd6312a598ec8ee9db6953d111d3656 (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
DIR=.

include Makefile_base

clib.o: compile clib.h clib.c
	@./compile clib.c

libclib.a: load clib.o
	@./load s libclib.a clib.o

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

main: load libclib.a main.o
	@./load c main libclib.a

# HIGH LEVEL SPECIFIC TARGETS

clean : cleanstd
	@rm -f main *.o *.so* *~

arch: buildarch
	-@./buildarch test

build: main