-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmfSBArnz.mak
executable file
·45 lines (30 loc) · 969 Bytes
/
mfSBArnz.mak
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
38
39
40
41
42
43
44
45
.PHONY : clean
vpath_src=..
vpath %.c $(vpath_src)
vpath %.cpp $(vpath_src)
vpath %.hpp $(vpath_src)
vpath %.h $(vpath_src)
# The X11 base dir on your system
X11BASE=/usr/X11R6
# Add directories with X11 include files here
X11INCS=-I$(X11BASE)/include
# put X11 required libraries and directories here
X11LIBS=-L$(X11BASE)/lib -lX11
SDLDEFS = -D__XWIN__
#I_DIRS=-I../../randlib/src
#P_DEFS=-DGRAPHICS -DPERIODIC_BOUNDARY
CXXFLAGS = -g -Wall $(I_DIRS) $(X11INCS) $(SDLDEFS) $(P_DEFS)
# O = mainMfSBArnz.o mfSBA.o RWFile.o randomizations.o randlib.o com.o linpack.o
O = mainMfSBArnz.o mfSBA.o RWFile.o randomizations.o
L = -lm -ltiff
MAIN_TARGET=mfSBArnz
all: $(O)
g++ -o $(MAIN_TARGET) $(O) $(L)
clean:
rm $(MAIN_TARGET) $(O)
# DEPENDENCIES
all:
RWFile.o: RWFile.cpp RWFile.h
mainMfSBArnz.o: mainMfSBArnz.cpp
mfSBA.o: mfSBA.cpp RWFile.cpp
randomizations.o: randomizations.cpp Randomizations.h