25 lines
465 B
Makefile
25 lines
465 B
Makefile
# -w-8008 Disable warning "Condition is always true"
|
|
# -q Disable copyright message
|
|
#CFLAGS_DEBUG = -y -v
|
|
CFLAGS = -w-8008 -q -DWIN32=1 -I.. $(CFLAGS_DEBUG)
|
|
|
|
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
|
|
|
|
all: cole.h cole.lib
|
|
|
|
clean:
|
|
-del *.obj
|
|
-del *.lib
|
|
|
|
cole.lib: $(OBJECTS)
|
|
tlib cole.lib -+$(OBJECTS: = -+)
|
|
|
|
version.obj: version.win32.c
|
|
$(CC) $(CFLAGS) -DCOMPILER=BC++ -c -o$@ $?
|
|
|
|
cole.h: cole.h.in
|
|
copy $? $@
|
|
|
|
# eof
|
|
|