]> git.saurik.com Git - wxWidgets.git/blob - utils/Install/sfxace/makefile.g95
ignore files produced by CodeWarrior
[wxWidgets.git] / utils / Install / sfxace / makefile.g95
1 # Installer Makefile
2
3 CC = gcc
4 RM = rm -f
5 RC = windres
6
7
8 DEFS =
9 LIBS = ../../../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
13 CFLAGS = -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
14 LDFLAGS = -Wl,--subsystem,windows -mwindows -L../../../lib
15
16 OBJECTS = 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
19 SOURCES = 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
23 all: sfx.exe
24
25 $(OBJECTS):
26 $(CC) $(CFLAGS) -c $<
27
28 packinst: packinst/Makefile Makefile
29 @cd packinst
30 $(MAKE) -f Makefile all
31
32 sfx.exe: $(OBJECTS)
33 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o sfx.exe $(OBJECTS) $(LIBS)
34
35 clean:
36 $(RM) $(OBJECTS) install.exe install.res sfx.exe
37
38 instres.o: install.rc
39 $(RC) install.rc instres.o --include-dir ../../../include
40
41 globals.o: globals.c ../incace/globals.h ../incace/acestruc.h ../incace/unace.h
42 install.o: ../install.c ../install.h ../instsup.h
43 instsup.o: ../instsup.cpp
44 uac_comm.o: uac_comm.c ../incace/globals.h ../incace/uac_dcpr.h ../incace/uac_comm.h
45 uac_crc.o: uac_crc.c ../incace/uac_crc.h
46 uac_crt.o: uac_crt.c ../incace/os.h ../incace/attribs.h ../incace/globals.h ../incace/uac_crt.h ../incace/uac_sys.h
47 uac_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
49 uac_sys.o: uac_sys.c ../incace/os.h ../incace/globals.h ../incace/uac_sys.h
50 unace.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
52 wxmain.o: ../wxmain.cpp
53