summaryrefslogtreecommitdiff
path: root/config.mk
blob: 37d5d63a3caa4b2ca478d9556bbbe25b1283f785 (plain)
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
# LeoCAD configuration file
#
include version.mk

CC	:= gcc
CXX	:= g++

ifeq ($(shell uname), Linux)
OS 	:= -DLC_LINUX
OSDIR 	:= linux

else

ifeq ($(shell uname), BeOS)
OS 	:= -DLC_BEOS
OSDIR 	:= beos
endif

endif

# (Add a -g for debugging)
CPPFLAGS += -O2 -Wall

# Add compile options, such as -I option to include jpeglib's headers
# CPPFLAGS += -I/home/fred/jpeglib

# Add linker options, such as -L option to include jpeglib's libraries
# LDFLAGS += -L/home/fred/jpeglib