StupidOS/tools/Makefile

23 lines
466 B
Makefile
Raw Normal View History

2024-07-21 16:14:38 +00:00
TARGET = coff-ld$(EXEXT) parted$(EXEXT) readcoff$(EXEXT) elf2coff$(EXEXT)
2024-03-03 14:07:47 +00:00
.PHONY: all
all: $(TARGET)
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)
.PHONY: clean
clean: