1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-11 16:09:09 +00:00
oot/tools/com-plugin/Makefile
Tharo 9a3878ec7e
git subrepo clone --force git@github.com:Thar0/com-plugin.git tools/com-plugin (#2455)
subrepo:
  subdir:   "tools/com-plugin"
  merged:   "fc5aa5eda"
upstream:
  origin:   "git@github.com:Thar0/com-plugin.git"
  branch:   "main"
  commit:   "fc5aa5eda"
git-subrepo:
  version:  "0.4.6"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "110b9eb"
2025-02-05 22:53:35 -05:00

19 lines
316 B
Makefile

TARGET := common-plugin.so
SOURCES := plugin.c
CC := gcc
CFLAGS := -Wall -Wextra -std=gnu11 -O2 -fPIC -DHAVE_STDINT_H
DEP_FILES := $(TARGET:.so=.d)
.PHONY: all clean
all: $(TARGET)
clean:
$(RM) $(TARGET) $(DEP_FILES)
$(TARGET): $(SOURCES)
$(CC) -shared $(CFLAGS) -MMD -o $@ $(SOURCES)
-include $(DEP_FILES)