aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 55207f644ced157caca2dc42e9e80149a5fac5b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS=-O0

CLM=clm
CLMFLAGS=-ns -no-opt-link -l cleanc.o -l /usr/lib/x86_64-linux-gnu/libelf.so.1

all: cleanc.o

%.o: %.c
	$(CC) $(CFLAGS) -c $<

test: test.icl cleanc.icl cleanc.dcl cleanc.o
	$(CLM) $(CLMFLAGS) test -o test

clean:
	rm -frv *.o test Clean\ System\ Files

.PHONY: all clean