]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/Install/sfxace/makefile.g95
SWIGed changes for wxGTK
[wxWidgets.git] / utils / Install / sfxace / makefile.g95
... / ...
CommitLineData
1# Installer Makefile
2
3CC = gcc
4RM = rm -f
5RC = windres
6
7
8DEFS =
9LIBS = ../../../lib/libwx.a -lpng -ljpeg -lzlib -lxpm -lstdc++ -lgcc -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lole32 -loleaut32 -luuid -lodbc32 -lwsock32
10
11#CFLAGS = -I./include -mno-cygwin -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -I../../include -I../../src/png -I../../src/jpeg -I../../src/zlib -I../../include/wx/msw/gnuwin32 -DSTRICT -D__WXMSW__ -D__WINDOWS__ -D__WXDEBUG__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions
12#LDFLAGS = -mno-cygwin -Wl,--subsystem,windows -mwindows -L../../lib
13CFLAGS = -g -I../incace -I.. -D_X86_=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -I../../../include -I../../../src/png -I../../../src/jpeg -I../../../src/zlib -I../../../include/wx/msw/gnuwin32 -DSTRICT -D__WXMSW__ -D__WINDOWS__ -D__WXDEBUG__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions
14LDFLAGS = -Wl,--subsystem,windows -mwindows -L../../../lib
15
16OBJECTS = globals.o install.o uac_comm.o uac_crc.o instsup.o \
17 uac_crt.o uac_dcpr.o uac_sys.o unace.o wxmain.o instres.o
18
19SOURCES = globals.c ../install.c uac_comm.c uac_crc.c ../instsup.cpp \
20 uac_crt.c uac_dcpr.c uac_sys.c unace.c ../wxmain.cpp
21
22#all: sfx.exe packinst
23all: sfx.exe
24
25$(OBJECTS):
26 $(CC) $(CFLAGS) -c $<
27
28packinst: packinst/Makefile Makefile
29 @cd packinst
30 $(MAKE) -f Makefile all
31
32sfx.exe: $(OBJECTS)
33 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o sfx.exe $(OBJECTS) $(LIBS)
34
35clean:
36 $(RM) $(OBJECTS) install.exe install.res sfx.exe
37
38instres.o: install.rc
39 $(RC) install.rc instres.o --include-dir ../../../include
40
41globals.o: globals.c ../incace/globals.h ../incace/acestruc.h ../incace/unace.h
42install.o: ../install.c ../install.h ../instsup.h
43instsup.o: ../instsup.cpp
44uac_comm.o: uac_comm.c ../incace/globals.h ../incace/uac_dcpr.h ../incace/uac_comm.h
45uac_crc.o: uac_crc.c ../incace/uac_crc.h
46uac_crt.o: uac_crt.c ../incace/os.h ../incace/attribs.h ../incace/globals.h ../incace/uac_crt.h ../incace/uac_sys.h
47uac_dcpr.o: uac_dcpr.c ../incace/os.h ../incace/globals.h ../incace/portable.h ../incace/uac_comm.h ../incace/uac_crc.h \
48 ../incace/uac_dcpr.h ../incace/uac_sys.h
49uac_sys.o: uac_sys.c ../incace/os.h ../incace/globals.h ../incace/uac_sys.h
50unace.o: unace.c ../incace/os.h ../incace/globals.h ../incace/portable.h ../incace/uac_comm.h ../incace/uac_crc.h ../incace/uac_crt.h \
51 ../incace/uac_dcpr.h ../incace/uac_sys.h
52wxmain.o: ../wxmain.cpp
53