Commit 598b1368 authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

hacked twoway makefile for OS X

parent df8c6467
UNAME_S=$(shell uname -s)
TARGETS=client server TARGETS=client server
LABCOMM_JAR=../../compiler/labcomm_compiler.jar LABCOMM_JAR=../../compiler/labcomm_compiler.jar
LABCOMM=java -jar $(LABCOMM_JAR) LABCOMM=java -jar $(LABCOMM_JAR)
include ../../lib/c/os_compat.mk CFLAGS=-O3 -g -Wall -Werror -I../../lib/c/2014 -I. -Wno-unused-function
CFLAGS+=-I../../lib/c/2014 -I.
ifeq ($(UNAME_S),Darwin)
CFLAGS+=-DLABCOMM_COMPAT=\"labcomm_compat_osx.h\" -DLABCOMM_OS_DARWIN=1 -Wno-tautological-compare
endif
all: $(TARGETS:%=gen/%) all: $(TARGETS:%=gen/%)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment