StupidOS/tools/Makefile

23 lines
439 B
Makefile
Raw Normal View History

2024-06-12 11:15:07 +00:00
TARGET = fat$(EXEXT) coff-ld$(EXEXT) parted$(EXEXT) readcoff$(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-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)
.PHONY: clean
clean: