# # Makefile for mac2eui64. # # Copyright (C) 2003 Trond Endrestøl # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # BSD make (PMake) uses $>, whereas GNU make # uses $^ to name all on the rhs. # Therefore, use $>$^ # # $Ximalas$ # PREFIX = /usr/local BINPREFIX = $(PREFIX)/bin CC = clang36 LD = clang36 CFLAGS = -std=c11 -Weverything -g0 -O3 LDFLAGS = -s INSTALL = install INSTALLFLAGS = -C -d -g 0 -m 555 -o 0 -p RM = rm RMFLAGS = -f all: mac2eui64 mac2eui64: mac2eui64.o $(CC) -o $@ $(LDFLAGS) $>$^ mac2eui64.o: mac2eui64.c $(CC) -c $(CFLAGS) $>$^ install: all $(INSTALL) $(INSTALLFLAGS) mac2eui64 $(BINPREFIX) clean: $(RM) $(RMFLAGS) mac2eui64 mac2eui64.o