summaryrefslogtreecommitdiff
path: root/ext/dl/eg/Makefile
blob: d1ae210730add772446468349222c24a6a4df7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CC = /vol/apps/lucid-3.1/lcc

all: 	main test test1
main:	main.c
	$(CC) -g -o main main.c -ldl

test.o:	test.c
	$(CC) -g -pic -c test.c

test:	test.o
	ld -o test -assert pure-text test.o

test1.o:	test1.c
	$(CC) -g -pic -c test1.c

test1:	test1.o
	ld -o test1 -assert pure-text test1.o

clean:
	/bin/rm -f *.o test test1 main