# Example of multi-language support # $Id: lang.mak,v 1.1 2010/12/23 21:48:37 bereziat Exp $ ifeq ($(CROSS),yes) CROSSPREFIX = m68k-atari-mint CC = $(CROSSPREFIX)-gcc AR = $(CROSSPREFIX)-ar PREFIX = /usr/$(CROSSPREFIX) else CC = gcc AR = ar PREFIX = /usr endif CFLAGS = -I../include LDFLAGS = LDLIBS = ../lib/gcc295/libdfrm.a -lwindom -lldg -lgem # rule to link a GEM application %.app: %.o; $(CC) $^ -o $@ $(LDFLAGS) $(LDLIBS) # rule to generate string symbol header %.h: %.en; dfrmstr $< $@ all: lang.app lang.o: lang.h