diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-05-31 11:57:49 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-05-31 11:57:49 +0300 |
commit | f0e8bacf4eabbd4401b19fe70b59aace5ff25e5c (patch) | |
tree | 1dc94c8e264c2c70c944b5679c354419368f09c7 /source | |
parent | 28cd6c9265061cf950757fe3ac20fd83d77030ad (diff) |
Updated Makfile for MacOS, added GitHub actions workflow
Diffstat (limited to 'source')
-rw-r--r-- | source/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile index a4810ec..264366c 100644 --- a/source/Makefile +++ b/source/Makefile @@ -2,9 +2,14 @@ RM = rm -f CC = gcc COMMIT_INFO = commit.h -CFLAGS = -O2 -Wall +CFLAGS = -O2 -Wall -Wno-restrict -Wno-unknown-warning-option ifeq ($(OS),Windows_NT) LDFLAGS += -largp +else + UNAME_S := $(shell uname -s) + ifeq ($(UNAME_S),Darwin) + LDFLAGS += -largp + endif endif OBJS = main.o input.o assemble.o expr.o code.o command.o\ |