1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-20 23:59:09 -05:00
gbootroot/genext2fs/Makefile

20 lines
254 B
Makefile
Raw Normal View History

2001-10-31 07:01:08 +00:00
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