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

                                                    
                                   
                    
                                 
 
                                                   
                                           
 
               
                             
           
                


                       
 
CFLAGS=-std=c99 -Wall -O0 -c
CLM=clm
CLMFLAGS=-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

run: iclean
	./iclean

FORCE:

.PHONY: FORCE clean run