Slight refinement.

This commit is contained in:
William McBrine
2005-12-28 06:56:48 +00:00
parent f8490bbbb6
commit f07354adc0
3 changed files with 9 additions and 12 deletions

View File

@@ -58,7 +58,6 @@ endif
DLLFLAGS = -Zdll -Zcrtdll -Zomf
DLLCURSES = curses.lib
DISTTARGETS = pdcurses.a panel.a
CPPFLAGS = -I$(PDCURSES_HOME) $(EMXVID)
@@ -76,7 +75,7 @@ LIBFLAGS =rcv
LIBCURSES = pdcurses.a
LIBPANEL = panel.a
PDCLIBS = $(LIBCURSES) $(LIBPANEL) #$(DLLTARGET)
PDCLIBS = $(LIBCURSES) $(LIBPANEL) #$(DLLTARGET) pdcurses.lib panel.lib
DEMOS =testcurs.exe newdemo.exe xmas.exe tuidemo.exe firework.exe ptest.exe
################################################################################
@@ -571,7 +570,7 @@ tuidemo.o: $(demodir)\tuidemo.c $(PDCURSES_CURSES_H)
xmas.o: $(demodir)\xmas.c $(PDCURSES_CURSES_H)
$(CC) $(CCFLAGS) -o$@ $(demodir)\xmas.c
dist: $(DISTTARGETS)
dist: $(PDCLIBS)
echo PDCurses - Public Domain Curses > tmp\file_id.diz
echo Version $(VERDOT) for EMX OS/2 PDC$(VER)_EMX_OS2.ZIP >> tmp\file_id.diz
echo ------------------------------------------ >> tmp\file_id.diz
@@ -586,8 +585,8 @@ dist: $(DISTTARGETS)
echo $(PDCURSES_HOME)\curspriv.h >> flist
echo $(PDCURSES_HOME)\panel.h >> flist
echo $(PDCURSES_HOME)\term.h >> flist
echo pdcurses.a >> flist
echo panel.a >> flist
echo $(LIBCURSES) >> flist
echo $(LIBPANEL) >> flist
zip -jX pdc$(VER)_emx_os2 -@ <flist
del flist
del file_id.diz

View File

@@ -63,8 +63,8 @@ all: $(PDCLIBS) $(DEMOS) #$(DLL_DEMOS)
clean:
-del *.obj
-del *.lib
# -del *.dll
# -del *.exp
-del *.dll
-del *.exp
-del *.exe
demos: $(DEMOS)

View File

@@ -71,9 +71,9 @@ all: $(PDCLIBS) $(DEMOS) #$(DLL_DEMOS)
clean:
-del *.obj
-del *.lib
# -del *.dll
# -del *.exp
# -del *.res
-del *.dll
-del *.exp
-del *.res
-del *.exe
demos: $(DEMOS)
@@ -617,8 +617,6 @@ dist: $(PDCLIBS)
echo $(PDCURSES_HOME)\curspriv.h >> flist
echo $(PDCURSES_HOME)\panel.h >> flist
echo $(PDCURSES_HOME)\term.h >> flist
# echo curses.dll >> flist
# echo curses.lib >> flist
echo $(LIBCURSES) >> flist
echo $(LIBPANEL) >> flist
zip -jX pdc$(VER)_vc_w32 -@ <flist