2 # nspark makefile (Windows NT, Microsoft V9.0 C Compiler)
\r
10 # --- You shouldn't need to edit below this line ---
\r
12 CDEFINES= -I. #-DDEBUGGING # -Ox -Gs
\r
14 CFLAGS= $(CDEFINES) $(CMISC) /O2
\r
19 SRCS= store.c pack.c compress.c crc.c \
\r
20 io.c error.c misc.c date.c arcfs.c garble.c
\r
21 HDRS= store.h pack.h compress.h crc.h \
\r
22 nsparkio.h error.h misc.h date.h os.h spark.h arcfs.h garble.h version.h
\r
24 NSPARKSRCS = main.c arc.c unarc.c
\r
25 NSPARKHDRS = main.h arc.h unarc.h
\r
27 SQSHSRCS = sqshmain.c unarc.c
\r
34 OBJS = $(SRCS:.c=.obj)
\r
35 NSPARKOBJS = $(NSPARKSRCS:.c=.obj)
\r
36 SQSHOBJS = $(SQSHSRCS:.c=.obj)
\r
37 OS_OBJS = $(OS_SRCS:.c=.obj)
\r
39 all: $(PROG) $(SQSH)
\r
41 $(PROG): $(OBJS) $(OS_OBJS) $(NSPARKOBJS)
\r
42 $(CC) /Fe$@ $** $(LIBS)
\r
44 $(SQSH): $(OBJS) $(OS_OBJS) $(SQSHOBJS)
\r
45 $(CC) /Fe$@ $** $(LIBS)
\r
47 install: $(PROG) $(SQSH)
\r
48 -mkdir $(INSTALLDIR)\bin
\r
49 copy $(PROG) $(INSTALLDIR)\bin
\r
50 copy $(SQSH) $(INSTALLDIR)\bin
\r
59 # DO NOT DELETE THIS LINE -- make depend depends on it.
\r
61 store$(OBJ): spark.h main.h crc.h garble.h
62 store$(OBJ): nsparkio.h
63 pack$(OBJ): spark.h main.h crc.h garble.h
64 pack$(OBJ): nsparkio.h pack.h
65 compress$(OBJ): spark.h pack.h
66 compress$(OBJ): main.h crc.h garble.h nsparkio.h arcfs.h
67 crc$(OBJ): spark.h main.h arcfs.h
68 io$(OBJ): spark.h main.h error.h arcfs.h nsparkio.h
70 misc$(OBJ): spark.h main.h date.h misc.h
72 arcfs$(OBJ): spark.h arcfs.h nsparkio.h misc.h
73 garble$(OBJ): garble.h spark.h
74 main$(OBJ): spark.h nsparkio.h error.h misc.h arc.h unarc.h garble.h version.h
75 arc$(OBJ): spark.h error.h
76 unarc$(OBJ): spark.h store.h pack.h compress.h main.h nsparkio.h
77 unarc$(OBJ): misc.h os.h error.h
78 unarc$(OBJ): crc.h arcfs.h
79 sqshmain$(OBJ): spark.h arcfs.h unarc.h
80 unarc$(OBJ): spark.h store.h pack.h compress.h main.h nsparkio.h
81 unarc$(OBJ): misc.h os.h error.h
82 unarc$(OBJ): crc.h arcfs.h
83 testprog/pack$(OBJ): spark.h crc.h nsparkio.h pack.h arcfs.h garble.h spark.h
84 acorn$(OBJ): spark.h date.h
85 msdos$(OBJ): spark.h date.h
87 winnt$(OBJ): spark.h date.h