-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONFIGVARS
37 lines (26 loc) · 832 Bytes
/
CONFIGVARS
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
34
35
36
37
# handle cross compilation
NATIVE_CC = gcc
ifdef EMMAKEN_COMPILER
TARGET_SUFFIX = .html
endif
ifeq ($(M68K_ATARI_MINT_CROSS),y)
CROSSPREFIX = m68k-atari-mint
CC = $(CROSSPREFIX)-gcc
AS = $(CROSSPREFIX)-as
LD = $(CROSSPREFIX)-ld
AR = $(CROSSPREFIX)-ar
RANLIB = $(CROSSPREFIX)-ranlib
STRIP = $(CROSSPREFIX)-strip
CROSS_CFLAGS = $(M68K_ATARI_MINT_CFLAGS)
CROSS_LDFLAGS= $(M68K_ATARI_MINT_LDFLAGS)
endif
# version and folder variables
VERSION = `cat $(top_srcdir)/src/.makeversion`
TARGETDIR = $(top_srcdir)/lib
DISTDIR = $(TARGETDIR)/libhyp-$(VERSION)
# general compilation and optimalization options (CFLAGS)
# OPTS = -O2 -fomit-frame-pointer -I/usr/local/include
OPTS = -O0 -g -I/usr/local/include -D_GNU_SOURCE
# library folders for tools
libhyp_dir = $(top_srcdir)/lib
libpng_dir = /usr/local/lib