home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
slfinsta.zip
/
packinst
/
makefile
< prev
next >
Wrap
Makefile
|
2000-03-26
|
2KB
|
52 lines
# $Id: makefile,v 1.1 2000/03/27 04:53:09 ktk Exp $
# Installer Makefile
CC = gcc
RM = rm
RC = rc
MAKE = make
COMPRESS = lxlite
DEFS =
LIBS =
CFLAGS = -O2 -Zomf -Zsys -Zmt -D__ST_MT_ERRNO__ -I../include -Wall
LDFLAGS = -lrexx
RCFLAGS = -r
OBJECTS = globals.obj packinst.obj uac_comm.obj uac_crc.obj \
uac_crt.obj uac_dcpr.obj uac_sys.obj unace.obj
SOURCES = globals.c packinst.c uac_comm.c uac_crc.c \
uac_crt.c uac_dcpr.c uac_sys.c unace.c
all: packinst.exe
$(OBJECTS):
$(CC) $(CFLAGS) -c $<
Include: ../include/Makefile Makefile
# cd include
# $(MAKE) -f Makefile all
packinst.exe: $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o packinst.exe $(OBJECTS)
$(COMPRESS) packinst.exe
clean:
$(RM) $(OBJECTS) install.exe install.res sfx.exe
globals.obj: globals.c ../include/globals.h ../include/acestruc.h ../include/unace.h
packinst.obj: packinst.c
uac_comm.obj: uac_comm.c ../include/globals.h ../include/uac_dcpr.h ../include/uac_comm.h
uac_crc.obj: uac_crc.c ../include/uac_crc.h
uac_crt.obj: uac_crt.c ../include/os.h ../include/attribs.h ../include/globals.h ../include/uac_crt.h ../include/uac_sys.h
uac_dcpr.obj: uac_dcpr.c ../include/os.h ../include/globals.h ../include/portable.h ../include/uac_comm.h ../include/uac_crc.h \
../include/uac_dcpr.h ../include/uac_sys.h
uac_sys.obj: uac_sys.c ../include/os.h ../include/globals.h ../include/uac_sys.h
unace.obj: unace.c ../include/os.h ../include/globals.h ../include/portable.h ../include/uac_comm.h ../include/uac_crc.h ../include/uac_crt.h \
../include/uac_dcpr.h ../include/uac_sys.h