Makefile 556 Bytes
Newer Older
Camil Staps's avatar
Camil Staps committed
1
BIN:=cleantest makecleantest
Camil Staps's avatar
Camil Staps committed
2
CLM:=clm
3
CLMFLAGS:=-nr -nt -h 100m -nortsopts\
Camil Staps's avatar
Camil Staps committed
4 5 6 7
	-IL ArgEnv\
	-IL Platform\
	-I Cloogle\
	-I Cloogle/libcloogle\
8
	-I Cloogle/CleanTypes\
Camil Staps's avatar
Camil Staps committed
9
	-I Cloogle/CleanPrettyPrint\
Camil Staps's avatar
Camil Staps committed
10 11 12 13
	-I Cloogle/clean-compiler/frontend\
	-I Cloogle/clean-compiler/backend\
	-I Cloogle/clean-compiler/main\
	-I Cloogle/clean-compiler/main/Unix
Camil Staps's avatar
Camil Staps committed
14 15 16 17 18

.PHONY: all clean

all: $(BIN)

Camil Staps's avatar
Camil Staps committed
19
$(BIN): Cloogle/clean-compiler .FORCE
Camil Staps's avatar
Camil Staps committed
20 21
	$(CLM) $(CLMFLAGS) $@ -o $@

Camil Staps's avatar
Camil Staps committed
22 23
Cloogle/clean-compiler:
	$(MAKE) -C Cloogle clean-compiler
Camil Staps's avatar
Camil Staps committed
24 25 26 27 28

clean:
	$(RM) -r **/Clean\ System\ Files $(BIN)

.FORCE: