delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/30/21:43:28

Message-Id: <199605310139.VAA16482@caleb.INS.CWRU.Edu>
Date: Thu, 30 May 1996 21:39:20 -0400
From: tam9 AT po DOT CWRU DOT Edu (Timothy A. Musson)
To: djgpp AT delorie DOT com
Subject: Redef. of target error
Reply-To: tam9 AT po DOT CWRU DOT Edu (Timothy A. Musson)

reply to tam9 AT po DOT cwru DOT edu

Problem:  djgpp gives the following error when compiling, but works
just fine on two similar systems:

Make version 3.6 (Borland)
error makefile 32: Redefinition of target 'depend.txt'
error makefile 32: Command syntax error
Available memory 428864 bytes

I have a 486DX2 66Mhz with 16megs RAM, TOPPS brand.  i've included all
relavent files (i hope).

makefile:
CC = gcc
CXX = gcc
INCDIRS = -I./include -I/apps/djgpp/contrib/allegro2/include
CPPFLAGS = -O6 $(INCDIRS)
LDFLAGS = -L/apps/djgpp/contrib/allegro2/lib
LDLIBS = -lalleg

SRC := $(wildcard *.cc)
OBJ := $(SRC:.cc=.o)

all: unearth

unearth: $(OBJ)
	$(CC) -o $@ $(LDFLAGS) $(OBJ) $(LDLIBS)

clean:
	del *.~
	del *.?~
	del *.??~
	del *.o
	del *.exe
	del unearth

depend:
	del depend.txt
	gcc -M $(INCDIRS) $(SRC) > depend.txt

depend.txt:
	depend
	
include depend.txt


******autoexec.bat
rem C:\WINDOWS\net start
set mh=C:\MAIL
@ECHO OFF
rem C:\DOS\MSCDEX.EXE /D:MSCD000
SET BLASTER=A220 I7 D3 T4
SET GALAXY=A220 I7 D3 K10 P530 T6
SET SOUND=C:\MMPRO16
REM c:\norton\image C:
LH /L:0;1,45456 /S C:\WINDOWS\SMARTDRV.EXE /X /e:2048
LH DOSKEY
LH /L:2,9856 c:\net\csipd_e /s:62 /h:5 /p:300
rem LH /L:2,22464 c:\windows\qvtnet\pktint.com
LH /L:2,21712 c:\dos\mouse.com /Y
REM LH /L:2,21712 c:\mouse\imouse.com
PROMPT $e[34m$p$e[31m$g$_$e[33mCommand: $e[32m
PATH C:\WINDOWS;C:\DOS;C:\ADAPTEC;C:\COMPRESS;C:\CDD;C:\IP;C:\MAIL;C:\NET;C:\TURBO\BIN;C:\APPS\JED\BIN;C:\APPS\DJGPP\BIN
rem set DJGPP=c:/yourdjgpppath/djgpp.env
rem set PATH=%PATH%;c:\yourdjgpppath\bin
SET DJGPP=c:/apps/djgpp/djgpp.env
SET PATH=%PATH%;c:\apps\djgpp\bin
SET JED_ROOT=C:\APPS\JED
SET TEMP=C:\TEMP
c:

rem C:\TVGAUTIL\TVGABIO
rem CALL C:\VIDEO\DPMS b10 s12 o12


******config.sys
LASTDRIVE=Z
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE RAM HIGHSCAN 5120
BUFFERS=10,0
rem FILES=40
FILES=15
DOS=UMB
FCBS=4,0
REM DEVICEHIGH /L:2,12048 =C:\DOS\SETVER.EXE
REM BUFFERS=40,0
DOS=HIGH
STACKS=9,256
REM DEVICEHIGH /L:2,5888 =C:\DOS\RAMDRIVE.SYS 5120 512 1024 /E
REM DEVICEHIGH /L:1,18048 =C:\ADAPTEC\ASPI2DOS.SYS /D /L
DEVICEHIGH /L:2,1824 =C:\TVGAUTIL\TANSI.SYS
SHELL=C:\DOS\COMMAND.COM C:\DOS\  /e:1024 /p
REM DEVICE = C:\NAV\NAVTSR.EXE 
rem DEVICE = C:\CDD\CDD.SYS  /D:WP_CDROM /P:340
rem DEVICEHIGH = C:\MMPRO16\DRIVERS\SGCDM.SYS /D:MSCD000 /P:320 /I:12
DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER
DEVICE=C:\WINDOWS\IFSHLP.SYS


******environ.lst
COMSPEC=C:\DOS\COMMAND.COM
MH=C:\MAIL
BLASTER=A220 I7 D3 T4
GALAXY=A220 I7 D3 K10 P530 T6
SOUND=C:\MMPRO16
PROMPT=$e[34m$p$e[31m$g$_$e[33mCommand: $e[32m
DJGPP=c:/apps/djgpp/djgpp.env
PATH=C:\WINDOWS;C:\DOS;C:\ADAPTEC;C:\COMPRESS;C:\CDD;C:\IP;C:\MAIL;C:\NET;C:\TURBO\BIN;C:\APPS\JED\BIN;C:\APPS\DJGPP\BIN;c:
JED_ROOT=C:\APPS\JED
TEMP=C:\TEMP



*****depend.txt
nevermind ^ this one


*****go32-v output
DPMI memory available 4988Kb
DPMI swap space available 9144Kb




Thanks for any help/ideas you can give me.

-Tim

--
The worst truth is infinitly less worse than the smallest unknown.
				-German Proverb

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019