diff options
author | katherine <ageha@airen-no-jikken.icu> | 2021-02-11 00:41:56 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2021-02-11 00:41:56 -0700 |
commit | 51ba9e5494cb848cd29fa174c0dcea4a5ac96eef (patch) | |
tree | 793b8f5f269af9155a371072cff280568be54d7e /wolfautomata/Makefile | |
parent | c0bebcff77eacd58903e487533c510df1916b5e7 (diff) | |
download | allegro-sketches-51ba9e5494cb848cd29fa174c0dcea4a5ac96eef.tar.gz |
wolfrand
Diffstat (limited to 'wolfautomata/Makefile')
-rw-r--r-- | wolfautomata/Makefile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/wolfautomata/Makefile b/wolfautomata/Makefile deleted file mode 100644 index 71038df..0000000 --- a/wolfautomata/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -CFLAGS+=-Wall -O2 $(shell pkg-config --cflags allegro-5 allegro_primitives-5 libsodium) -CFLAGSDEBUG=-Wall -ggdb3 -O0 -DDEBUG $(shell pkg-config --cflags allegro-5 allegro_primitives-5) -LDFLAGS+=-Wall -O2 $(shell pkg-config --libs allegro-5 allegro_primitives-5 libsodium) -LDFLAGSDEBUG=-Wall -ggdb3 -O0 -DDEBUG $(shell pkg-config --libs allegro-5 allegro_primitives-5) -SRCDIR=./src -OBJDIR=./build -SRC=$(wildcard $(SRCDIR)/*.c) -OBJ=$(patsubst $(SRCDIR)%.c,$(OBJDIR)%.o,$(SRC)) -BIN=wolfautomata - -all: $(OBJ) - $(CC) $(LDFLAGS) -o $(BIN) $^ - -$(OBJ): | $(OBJDIR) - -$(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) -c -o $@ $< - -$(OBJDIR): - mkdir -p $(OBJDIR) - -clean: - rm -rf $(OBJDIR) $(BIN) - -debug: CFLAGS=$(CFLAGSDEBUG) -debug: LDFLAGS=$(LDFLAGSDEBUG) -debug: all - -new: clean all |