Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/nesasm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-05-31 11:57:49 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-05-31 11:57:49 +0300
commitf0e8bacf4eabbd4401b19fe70b59aace5ff25e5c (patch)
tree1dc94c8e264c2c70c944b5679c354419368f09c7 /source
parent28cd6c9265061cf950757fe3ac20fd83d77030ad (diff)
Updated Makfile for MacOS, added GitHub actions workflow
Diffstat (limited to 'source')
-rw-r--r--source/Makefile7
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\