mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 05:19:36 +00:00
493bdbc3c6
subrepo: subdir: "tools/ZAPD" merged: "4751db5c9" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "4751db5c9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
25 lines
444 B
Makefile
25 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) $<
|