mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-11 16:09:09 +00:00
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"
19 lines
316 B
Makefile
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)
|