changeset 87:9140c33296a8

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Apr 2009 07:30:51 +0300
parents 7577eb770892
children 7bf0915c965e
files Makefile Makefile.gen Makefile.w32
diffstat 3 files changed, 5 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Apr 20 22:06:55 2009 +0300
+++ b/Makefile	Mon Apr 27 07:30:51 2009 +0300
@@ -2,10 +2,6 @@
 # Configuration settings for typical UNIX
 #
 
-# Installation prefix
-PREFIX=/usr/local
-BINPATH=./
-
 # C-compiler, flags and linker flags
 CC=gcc
 CFLAGS=-DTH_NO_DEFAULTS -DHAVE_STRING_H -DHAVE_INT_TYPES
@@ -20,7 +16,8 @@
 
 
 # Miscellaneous
-RM=rm
+BINPATH=
+OBJPATH=
 EXEEXT=
 
 
--- a/Makefile.gen	Mon Apr 20 22:06:55 2009 +0300
+++ b/Makefile.gen	Mon Apr 27 07:30:51 2009 +0300
@@ -24,7 +24,7 @@
 # Special targets
 #
 clean:
-	$(RM) -f $(TARGETS) *.o
+	$(RM) -f $(TARGETS) $(OBJPATH)*.o
 
 srcclean: clean
 	$(RM) -f *~
--- a/Makefile.w32	Mon Apr 20 22:06:55 2009 +0300
+++ b/Makefile.w32	Mon Apr 27 07:30:51 2009 +0300
@@ -2,8 +2,6 @@
 # For win32 version cross-compilation with MiNGW suite @ Linux
 #
 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin
-PREFIX=./win32/
-BINPATH=./win32/
 
 # C-compiler, flags and linker flags
 CC=gcc
@@ -11,8 +9,8 @@
 LDFLAGS=-L/usr/local/i386-mingw32/lib/ pdcurses/pdcurses.a -liberty -lws2_32 -s
 
 # Miscellaneous
-RM=rm
 EXEEXT=.exe
-OBJPATH=win32/
+OBJPATH=./win32/
+BINPATH=./win32/
 
 include Makefile.gen