1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 22:58:06 +11:00
collapseos/tools/Makefile

23 lines
443 B
Makefile
Raw Normal View History

MEMDUMP_TGT = memdump
BLKDUMP_TGT = blkdump
UPLOAD_TGT = upload
2020-01-08 10:26:40 +11:00
FONTCOMPILE_TGT = fontcompile
2020-01-12 14:45:22 +11:00
TTYSAFE_TGT = ttysafe
PINGPONG_TGT = pingpong
TARGETS = $(MEMDUMP_TGT) $(BLKDUMP_TGT) $(UPLOAD_TGT) $(FONTCOMPILE_TGT) \
$(TTYSAFE_TGT) $(PINGPONG_TGT)
2019-12-10 14:01:22 +11:00
OBJS = common.o
all: $(TARGETS)
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
2020-01-08 10:26:40 +11:00
$(TARGETS): $@.c $(OBJS)
$(CC) $(CFLAGS) $@.c $(OBJS) -o $@
.PHONY: clean
clean:
2019-12-10 14:01:22 +11:00
rm -f $(TARGETS) $(OBJS)