forked from punktniklas/NiKom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.mk
More file actions
33 lines (26 loc) · 668 Bytes
/
common.mk
File metadata and controls
33 lines (26 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
CPU = 68020
# Utility programs.
CP = cp
RM = rm -f
RM_RF = $(RM) -r
MKDIR_P = mkdir -p
FLEXCAT = flexcat
FLEXCATSD =
FD2PRAGMA = fd2pragma
OS = $(shell uname)
ifeq ($(OS),AmigaOS)
# Native Amiga build.
PARENT =
CP = copy
else
PARENT = ..
endif
# Default compiler family.
CCTYPE = gcc
UTILLIB = -L$(TOPDIR)/UtilLib/Debug/$(CPU) -lnikomutils
UTILNLIB = -L$(TOPDIR)/UtilLib/Debug/$(CPU) -lnikomutils_nlib
include $(TOPDIR)/$(CCTYPE).mk
CROSSFLAGS = $(CROSSOPT) $(CROSSDEF)
INCLUDES = -I$(TOPDIR)/Include -I$(TOPDIR)/UtilLib -I$(TOPDIR)/ExtInclude $(SDKINCLUDE)
CFLAGS = $(CROSSFLAGS) -g $(WARNINGS) $(INCLUDES) -DNiKom_NUMBERS -DNiKom_STRINGS
LDFLAGS = $(CROSSLD)