aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 093eeb09c884dbab2333bea881342483680b1a7d (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
          
                                     



                                     
 
           

                                                    
                                   
                    
                                 
 
                                                   
                                           
 
               
                                         
           
                


                       
 
CFLAGS=-std=c99 -Wall -O0 -c
CLM=clm
CLMFLAGS=\
	-I $$CLEAN_HOME/lib/Platform\
	-I $$CLEAN_HOME/lib/Generics\
	-I CleanReadLine\
	-l -lreadline\
	-l compile.o\
	-nr -nt

all: iclean

clean:
	rm -rf compile.o iclean "Clean System Files"
	make -C CleanReadLine clean

compile.o: compile.c
	$(CC) $(CFLAGS) compile.c

iclean: compile.o iclean.icl readline ExtraString.*
	$(CLM) $(CLMFLAGS) iclean -o iclean

readline: FORCE
	$(MAKE) -C CleanReadLine readline

run: iclean
	./iclean

FORCE:

.PHONY: FORCE clean run