d0p1
03c95cb0a4
Some checks are pending
Build / test (push) Waiting to run
Docs / test (push) Waiting to run
19 lines
337 B
Makefile
19 lines
337 B
Makefile
CC = gcc
|
|
RM = rm -f
|
|
|
|
TARGET = fat$(EXEXT) coff-ld$(EXEXT)
|
|
|
|
CFLAGS = -DMK_COMMIT="$(MK_COMMIT)" -DMK_BUGREPORT="$(MK_BUGREPORT)" -I../include
|
|
LDFLAGS =
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
|
|
fat$(EXEXT): fat.c
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
coff-ld$(EXEXT): coff-ld.c
|
|
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
|
|
|
|
.PHONY: install
|
|
install: $(TARGET)
|