changeset 422:c89f7aa4ced8

Cleanup Makefile.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 09 Mar 2016 16:14:47 +0200
parents d8702bbab84f
children 83fe3a3dcb20
files Makefile
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Mar 09 15:11:06 2016 +0200
+++ b/Makefile	Wed Mar 09 16:14:47 2016 +0200
@@ -3,6 +3,12 @@
 # See other Makefile.* files for more options.
 #
 
+# Miscellaneous
+PREFIX = /usr/local
+BINPATH = ./
+OBJPATH = obj/unix/
+EXEEXT =
+
 # C-compiler, flags and linker flags
 CC ?= gcc
 AR ?= ar
@@ -17,14 +23,9 @@
 #CFLAGS += -DHAVE_SYS_TYPES_H
 CFLAGS += -DHAVE_INTTYPES_H
 
-# Miscellaneous
-BINPATH=./
-OBJPATH=obj/unix/
-EXEEXT=
-
 
 ###
-### Stuff
+### Unix targets
 ###
 ENDIANCHK_BIN = $(BINPATH)endianchk$(EXEEXT)
 NOINST_TARGETS += $(ENDIANCHK_BIN) config.h