aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-09-18 00:33:14 +0200
committerTeddy Wing2023-09-18 00:33:14 +0200
commitd62c07399f546969e04541efa853ee4b882ec9bf (patch)
tree16590505b835e72bb05afb56aa6718501aee4d5a
parent279e953ae666de4ed37a554b2387789de558304c (diff)
downloadBase-Windowed-Application-d62c07399f546969e04541efa853ee4b882ec9bf.tar.bz2
Makefile: Remove `PRODUCT`
This target no longer really makes sense with the .app bundle build.
-rw-r--r--Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 6fe25bc..1a5bcb6 100644
--- a/Makefile
+++ b/Makefile
@@ -8,14 +8,12 @@ OBJECTS := $(SOURCES:%.m=%.o)
LOCALIZABLE_STRINGS := $(shell find Internationalization -name Localizable.strings)
-PRODUCT := build/Application
-
CFLAGS += -x objective-c
LDFLAGS += -framework Cocoa
.PHONY: all
-all: $(PRODUCT)
+all: app
%.o: %.m
$(CC) \
@@ -24,12 +22,6 @@ all: $(PRODUCT)
$< \
-o $@
-$(PRODUCT): $(OBJECTS) | build
- $(CC) \
- $(LDFLAGS) \
- -o $@ \
- $^
-
build:
mkdir -p build