From d62c07399f546969e04541efa853ee4b882ec9bf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 18 Sep 2023 00:33:14 +0200 Subject: Makefile: Remove `PRODUCT` This target no longer really makes sense with the .app bundle build. --- Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3