diff options
author | Nicholas Tay <nick@windblume.net> | 2022-12-09 11:43:18 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-12-09 11:43:18 +1100 |
commit | 2565b0e28ff2c58dd3f34624a71c7a2acaac0a0a (patch) | |
tree | 947fd416b2c9f46bfde5fa4583fc46e451dd1a9a /Makefile | |
parent | 0f5a18991f320a2df370994326f882a144c45b02 (diff) | |
download | clak-2565b0e28ff2c58dd3f34624a71c7a2acaac0a0a.tar.gz clak-2565b0e28ff2c58dd3f34624a71c7a2acaac0a0a.tar.bz2 clak-2565b0e28ff2c58dd3f34624a71c7a2acaac0a0a.zip |
Initial working Obj-C sound (leak)
It seems to memory leak so needs to be fixed, but this was before I had
to return my work MacBook - until I get my own!
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -17,13 +17,15 @@ else else ifeq ($(UNAME_S),Darwin) PLATFORM = darwin CFLAGS += -framework CoreFoundation -framework IOKit -framework AppKit + PLATFORM_C += platform/$(PLATFORM)-native.m endif endif +PLATFORM_C += platform/$(PLATFORM).c default: $(NAME) -$(NAME): $(NAME).c platform/$(PLATFORM).c - $(CC) $(CFLAGS) $(NAME).c platform/$(PLATFORM).c $(LDLIBS) -o $(NAME) +$(NAME): $(NAME).c $(PLATFORM_C) + $(CC) $(CFLAGS) $(NAME).c $(PLATFORM_C) $(LDLIBS) -o $(NAME) clean: rm -f *.o |