#
# @(#)Makefile	1.3 99/02/01
#
# Makefile for "uncrunch" program the decompresses a crunched JAR file
#


all: uncrunch.exe

.SUFFIXES: .obj .c

BUILDDIR= ..\..\..
!include $(BUILDDIR)\makefiles\defs.nmk
CTARGDIR=

FILES_c= \
	$(CTARGDIR)main.c \
	$(CTARGDIR)pool.c \
	$(CTARGDIR)prescan.c \
	$(CTARGDIR)convert.c


OFILES= main.obj pool.obj prescan.obj convert.obj

# debug flags
# CFLAGS= /Zi
# optimized flags
CFLAGS= /G5

{}.c{}.obj:
        $(CC) -nologo $(CFLAGS) -c -Fo$@ $<

FILES_obj = $(FILES_c:.c=.obj)

uncrunch.exe: $(FILES_obj)
	link /nologo /out:uncrunch.exe $(FILES_obj) user32.lib


clean clobber:
	rm -f *.obj *.exe *.jar *.class *.ilk *.pdb
