DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦a8beb2bc9⟧ TextFile

    Length: 1069 (0x42d)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/Sun/Mex/Makefile« 

TextFile

# @(#)Makefile

BASE_DIR = /usr/games/lib/mex
BIN = /usr/games

DEFINES  = -DINSTALL_DIR='"$(BASE_DIR)"' \
	   -DHISCORE_FILE='"$(BASE_DIR)/mex.hiscores"' \
	   -DINFO_FILE='"$(BASE_DIR)/info.file"'
CFLAGS   = -O $(DEFINES)
CPPFLAGS = 
LIBS     = -lsuntool -lsunwindow -lpixrect -lm
NAME     = mex
OBJS     = mex.o mex_look.o mex_scores.o

SRC      = mex.c mex_look.c mex_scores.c

HSRC     =  	mex.h object.h

$(NAME) : .install $(OBJS)
	$(CC) -O -o $(NAME) $(OBJS) $(LIBS)


mex.o: mex.c mex.h objects.h

mex_look.o: mex_look.c mex.h

mex_scores.o: mex_scores.c mex.h



lint_it: $(SRC)
	lint $(SRC) $(LIBS) $(INCLUDE_DIRS) $(DEFINES) > lint_out


shar: 
	shar -f mex1 Makefile README mex.hiscores *.icon \
		info.file
	shar -f mex2 *.c *.h


.install:
	@echo -n "The install directory is :"
	@echo $(BASE_DIR)
	@echo
	@echo
	@echo "Now compiling sources..."
	@echo 
	@echo 
	-uudecode mex.hiscores.uu
	-rm mex.hiscores.uu
	chmod 777 mex.hiscores
	touch .install

install: $(NAME)
	install -s $(NAME) $(BIN)
	-mkdir $(BASE_DIR)
	cp mex.hiscores info.file $(BASE_DIR)