mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-03 16:05:34 -05:00 
			
		
		
		
	automates the recognition of whether or not the host kernel has the skas patch applied. Makefile edits itself, and all gui is automated.
		
			
				
	
	
		
			20 lines
		
	
	
		
			260 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			260 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
CC=gcc
 | 
						|
CFLAGS=-Wall -O2
 | 
						|
 | 
						|
SRC=skas-or-tt.c
 | 
						|
OBJS=$(patsubst %.c,%.o, $(SRC))
 | 
						|
 | 
						|
 | 
						|
all: skas-or-tt 
 | 
						|
 | 
						|
skas-or-tt: $(OBJS)
 | 
						|
	$(CC) $(CFLAGS) -o $@ $(OBJS) -o $@
 | 
						|
 | 
						|
$(OBJS): %.o : %.c
 | 
						|
	$(CC) $(CFLAGS) -c $< -o $@
 | 
						|
 | 
						|
$(OBJS): Makefile
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f *.o *.a core skas-or-tt 
 |