Makefile 254 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

CFLAGS+= -O3 -Wall

all: il2c test

il2c: il.tab.o il.yy.o il2c.o

il2c.o: il.tab.h

test: il2c
	@echo " SUBDIR: $@"
	@$(MAKE) -C test

SRCS= il2c.c

clean:
Jeroen Vreeken's avatar
Jeroen Vreeken committed
17
	rm -f il2c *.o *.tab.c *.tab.h *.yy.c *.d *.lo
Jeroen Vreeken's avatar
Jeroen Vreeken committed
18
19
20
	@$(MAKE) -C test clean

include ../../build.mk