Subversion Repositories filter_foundry

Rev

Rev 384 | Rev 439 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 384 Rev 402
Line 21... Line 21...
21
 
21
 
22
EXEC = FilterFoundry
22
EXEC = FilterFoundry
23
 
23
 
24
# gcc should be used to ensure that the project is 100% C and not C++
24
# gcc should be used to ensure that the project is 100% C and not C++
25
# g++ can be used for improving code quality, because the compiler warnings are very good
25
# g++ can be used for improving code quality, because the compiler warnings are very good
26
#CC = g++.exe
26
CC = g++.exe
27
CC = gcc.exe
27
#CC = gcc.exe
28
DLLWRAP = dllwrap.exe
28
DLLWRAP = dllwrap.exe
29
WINDRES = windres.exe
29
WINDRES = windres.exe
30
 
30
 
31
# use GNU flex and bison
31
# use GNU flex and bison
32
# these lines can be commented to use system lex and yacc
32
# these lines can be commented to use system lex and yacc
Line 51... Line 51...
51
# list of source files
51
# list of source files
52
SRC_COMMON = main.c funcs.c process.c node.c symtab.c \
52
SRC_COMMON = main.c funcs.c process.c node.c symtab.c \
53
	ui.c ui_build.c preview.c read.c save.c make.c obfusc.c \
53
	ui.c ui_build.c preview.c read.c save.c make.c obfusc.c \
54
	scripting.c y.tab.c lex.yy.c str.c
54
	scripting.c y.tab.c lex.yy.c str.c
55
SRC_W32 = dbg_win.c manifest.c ui_win.c make_win.c versioninfo_modify_win.c load_win.c ui_compat_win.c \
55
SRC_W32 = dbg_win.c manifest.c ui_win.c make_win.c versioninfo_modify_win.c load_win.c ui_compat_win.c \
56
	choosefile_win.c ui_build_win.c compat_string.c compat_win.c \
56
	choosefile_win.c ui_build_win.c compat_string.c compat_win.c compat_win_resource.c \
57
	file_compat_win.c dllmain.c
57
	file_compat_win.c dllmain.c
58
 
58
 
59
# derive lists of object files, separate for each platform
59
# derive lists of object files, separate for each platform
60
OBJ_W32 := $(patsubst %.c, obj_w32\\%.o, $(SRC_COMMON) $(SRC_W32)) obj_w32\\res.o
60
OBJ_W32 := $(patsubst %.c, obj_w32\\%.o, $(SRC_COMMON) $(SRC_W32)) obj_w32\\res.o
61
 
61