mirror of https://github.com/fspc/gbootroot.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
260 B
19 lines
260 B
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
|
|
|