mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 15:10:55 +11:00
79ce88c12c
and remove cfspack, which will not ever be used again.
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
MEMDUMP_TGT = memdump
|
|
BLKDUMP_TGT = blkdump
|
|
UPLOAD_TGT = upload
|
|
FONTCOMPILE_TGT = fontcompile
|
|
TTYSAFE_TGT = ttysafe
|
|
PINGPONG_TGT = pingpong
|
|
SLATEST_TGT = slatest
|
|
STRIPFC_TGT = stripfc
|
|
BIN2C_TGT = bin2c
|
|
EXEC_TGT = exec
|
|
BLKPACK_TGT = blkpack
|
|
BLKUNPACK_TGT = blkunpack
|
|
TARGETS = $(MEMDUMP_TGT) $(BLKDUMP_TGT) $(UPLOAD_TGT) $(FONTCOMPILE_TGT) \
|
|
$(TTYSAFE_TGT) $(PINGPONG_TGT) $(SLATEST_TGT) $(STRIPFC_TGT) \
|
|
$(BIN2C_TGT) $(EXEC_TGT) $(BLKPACK_TGT) $(BLKUNPACK_TGT)
|
|
OBJS = common.o
|
|
|
|
all: $(TARGETS)
|
|
|
|
.SUFFIXES: .c .o
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
$(MEMDUMP_TGT): $(MEMDUMP_TGT).c
|
|
$(BLKDUMP_TGT): $(BLKDUMP_TGT).c
|
|
$(UPLOAD_TGT): $(UPLOAD_TGT).c
|
|
$(FONTCOMPILE_TGT): $(FONTCOMPILE_TGT).c
|
|
$(TTYSAFE_TGT): $(TTYSAFE_TGT).c
|
|
$(PINGPONG_TGT): $(PINGPONG_TGT).c
|
|
$(SLATEST_TGT): $(SLATEST_TGT).c
|
|
$(STRIPFC_TGT): $(STRIPFC_TGT).c
|
|
$(BIN2C_TGT): $(BIN2C_TGT).c
|
|
$(EXEC_TGT): $(EXEC_TGT).c
|
|
$(BLKPACK_TGT): $(BLKPACK_TGT).c
|
|
$(BLKUNPACK_TGT): $(BLKUNPACK_TGT).c
|
|
$(TARGETS): $(OBJS)
|
|
$(CC) $(CFLAGS) $@.c $(OBJS) -o $@
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(TARGETS) $(OBJS)
|