2024-07-15 16:07:17 +00:00
|
|
|
TARGET = fat$(EXEXT) coff-ld$(EXEXT) parted$(EXEXT) readcoff$(EXEXT) elf2coff$(EXEXT)
|
2024-03-03 14:07:47 +00:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
fat$(EXEXT): fat.c
|
|
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
2024-06-10 06:43:35 +00:00
|
|
|
coff-ld$(EXEXT): ../bin/ld/main.c
|
|
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
|
|
|
readcoff$(EXEXT): ../bin/readcoff/main.c
|
2024-03-20 15:51:27 +00:00
|
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
2024-07-15 16:07:17 +00:00
|
|
|
elf2coff$(EXEXT): ../bin/elf2coff/main.c
|
|
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
2024-04-14 05:35:43 +00:00
|
|
|
parted$(EXEXT): ../sbin/parted/main.c
|
|
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
|
2024-03-03 14:07:47 +00:00
|
|
|
.PHONY: install
|
|
|
|
install: $(TARGET)
|
2024-03-24 08:03:03 +00:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|