]> git.saurik.com Git - wxWidgets.git/blob - utils/Install/sfxace/makefile.gcc
post wxUniv merge fix
[wxWidgets.git] / utils / Install / sfxace / makefile.gcc
1 # Installer Makefile
2
3 CC = gcc
4 RM = rm -f
5 RC = windres
6
7
8 DEFS =
9 LIBS = -lwx_gtk -lpng -ljpeg -lstdc++ -lgcc -lc_r -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm -lgthread
10
11 CFLAGS = -g -I.. -I../incace -I/usr/local//include -I/usr/X11R6/include -I/usr/local/lib/glib/include -DSTRICT -D__WXGTK__ -DGTK_NO_CHECK_CASTS -D_REENTRANT -D_IODBC_ -Wall
12 LDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L/usr
13
14 OBJECTS = globals.o install.o uac_comm.o uac_crc.o instsup.o \
15 uac_crt.o uac_dcpr.o uac_sys.o unace.o wxmain.o
16
17 SOURCES = globals.c ../install.c uac_comm.c uac_crc.c ../instsup.cpp \
18 uac_crt.c uac_dcpr.c uac_sys.c unace.c ../wxmain.cpp
19
20 all: sfx
21
22 $(OBJECTS):
23 $(CC) $(CFLAGS) -c $<
24
25 packinst: packinst/Makefile Makefile
26 @cd packinst
27 $(MAKE) -f Makefile all
28
29 sfx: $(OBJECTS)
30 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o sfx $(OBJECTS) $(LIBS)
31
32 clean:
33 $(RM) $(OBJECTS) install sfx *~
34
35 globals.o: globals.c ../incace/globals.h ../incace/acestruc.h ../incace/unace.h
36 install.o: ../install.c ../install.h ../instsup.h
37 instsup.o: ../instsup.cpp
38 uac_comm.o: uac_comm.c ../incace/globals.h ../incace/uac_dcpr.h ../incace/uac_comm.h
39 uac_crc.o: uac_crc.c ../incace/uac_crc.h
40 uac_crt.o: uac_crt.c ../incace/os.h ../incace/attribs.h ../incace/globals.h ../incace/uac_crt.h ../incace/uac_sys.h
41 uac_dcpr.o: uac_dcpr.c ../incace/os.h ../incace/globals.h ../incace/portable.h ../incace/uac_comm.h ../incace/uac_crc.h \
42 ../incace/uac_dcpr.h ../incace/uac_sys.h
43 uac_sys.o: uac_sys.c ../incace/os.h ../incace/globals.h ../incace/uac_sys.h
44 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 \
45 ../incace/uac_dcpr.h ../incace/uac_sys.h
46 wxmain.o: ../wxmain.cpp
47