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.
20 lines
254 B
20 lines
254 B
23 years ago
|
CC=gcc
|
||
|
CFLAGS=-Wall -O2
|
||
|
|
||
|
SRC=genext2fs.c
|
||
|
OBJS=$(patsubst %.c,%.o, $(SRC))
|
||
|
|
||
|
|
||
|
all: genext2fs
|
||
|
|
||
|
genext2fs: $(OBJS)
|
||
|
$(CC) $(CFLAGS) -o $@ $(OBJS) -o $@
|
||
|
|
||
|
$(OBJS): %.o : %.c
|
||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||
|
|
||
|
$(OBJS): Makefile
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *.a core genext2fs
|