mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
5dda5762ba
subrepo: subdir: "ZAPDTR" merged: "a53a53ea4" upstream: origin: "https://github.com/HarbourMasters/ZAPDTR.git" branch: "master" commit: "a53a53ea4" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
26 lines
444 B
Makefile
26 lines
444 B
Makefile
CFLAGS = -Wall -O2 -g
|
|
UC_OBJ = uc_f3d.o uc_f3db.o uc_f3dex.o uc_f3dexb.o uc_f3dex2.o
|
|
OBJ = gfxd.o $(UC_OBJ)
|
|
LIB = libgfxd.a
|
|
|
|
CPPFLAGS-$(MT) += -DCONFIG_MT
|
|
CPPFLAGS += $(CPPFLAGS-y)
|
|
|
|
.PHONY: all
|
|
all: $(LIB)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(OBJ) $(LIB)
|
|
|
|
.INTERMEDIATE: $(OBJ)
|
|
|
|
$(OBJ): gbi.h gfxd.h priv.h
|
|
$(UC_OBJ): uc.c uc_argfn.c uc_argtbl.c uc_macrofn.c uc_macrotbl.c
|
|
|
|
$(LIB): $(OBJ)
|
|
$(AR) rcs $@ $^
|
|
|
|
%.o: %.c
|
|
$(COMPILE.c) $(OUTPUT_OPTION) $<
|