|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 3622 (0xe26) Types: TextFile Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Gb/Makefile«
# Galactic Bloodshed (Robert Chansky, smq@b) # Makefile (modified by billr@saab.cna.tek.com, 4/26/89) UV = VER_4_3 #UV = VER_4_2 CFLAGS = -D$(UV) -pipe -g #-D$(UV) -O # destination directories # GLIB should match the directory in the PATH macro of files.h GBIN = /usr/games GLIB = /usr/games/lib/GB # objects for shell SHOBJS = getplace.o \ read_teleg.o \ autoreport.o \ shootblast.o \ docommand.o \ telegram.o \ mobiliz.o \ shlmisc.o \ moveship.o \ doplanet.o \ autoshoot.o \ dosector.o \ doturn.o \ doship.o \ zoom.o \ perm.o \ survey.o \ enrol.o \ prof.o \ GB.o \ name.o \ fire.o \ land.o \ map.o \ max.o \ cs.o \ fix.o \ rst.o \ misc.o \ help.o \ rand.o \ load.o \ scrap.o \ build.o \ order.o \ orbit.o \ power.o \ launch.o \ declare.o \ examine.o \ get4args.o \ teleg_send.o \ files_rw.o \ files_shl.o # depend on vars.h only VOBJS = getplace.o \ mobiliz.o \ shlmisc.o \ survey.o \ enrol.o \ prof.o \ zoom.o \ max.o \ GB.o \ perm.o \ telegram.o \ docommand.o \ read_teleg.o #depend on races.h and vars.h ROBJS = doplanet.o \ makeplanet.o \ autoshoot.o \ dosector.o \ declare.o \ survey.o \ enrol.o \ prof.o \ GB.o \ cs.o \ fix.o \ max.o \ map.o \ name.o \ fire.o \ power.o \ doturn.o \ doship.o \ telegram.o \ makeuniv.o \ read_teleg.o # depend on ships.h SHIPOBJS = autoreport.o \ shootblast.o \ makeplanet.o \ examine.o \ launch.o \ build.o \ order.o \ fire.o \ land.o \ map.o \ max.o \ cs.o \ fix.o \ rst.o \ load.o \ name.o \ scrap.o \ orbit.o \ doturn.o \ doship.o \ doplanet.o \ moveship.o \ autoshoot.o \ files_shl.o # depend on files.h FOBJS = files_shl.o \ teleg_send.o \ makeuniv.o \ shlmisc.o \ doturn.o \ enrol.o \ help.o \ GB.o \ power.o \ examine.o # dont depend on anything NOOBJS = get4args.o \ misc.o \ help.o \ rand.o \ daemon.o \ teleg_send.o \ files_rw.o # objects for daemon DOBJS = shootblast.o \ autoshoot.o \ doplanet.o \ doturn.o \ daemon.o \ rand.o \ max.o \ perm.o \ misc.o \ doship.o \ dosector.o \ moveship.o \ teleg_send.o \ files_rw.o \ files_shl.o all: makeuniv mor GB #GB_daemon # the shell GB : ${SHOBJS} cc -o GB ${SHOBJS} -lcurses -ltermcap -lm ${ROBJS}: races.h ${VOBJS}: vars.h ${SHIPOBJS}: vars.h ships.h ${FOBJS}: files.h moveship.o : vars.h ships.h shipdata.h doturn.o doplanet.o power.o doship.o files_shl.o makeuniv.o : power.h #sizes : vars.h ships.h races.h # cc sizes.c # make data files program makeuniv : makeuniv.o makeplanet.o rand.o perm.o cc -o makeuniv makeuniv.o makeplanet.o rand.o perm.o -lm # the daemon GB_daemon : ${DOBJS} cc -o GB_daemon ${DOBJS} -lm doturn.o doship.o doplanet.o : doturn.h # more clone mor : more.c cc -o mor more.c chmod: cd $(GLIB) chmod ag+xs GB chmod g+rwx Data Data/* Data/Tele/* chmod a+rx Docs Docs/* chmod g+r *.dat* chmod a+x mor # chmod ga+rwx Data Data/* Data/Tele/* start: cd $(GLIB) /bin/rm -f Data/spitup GB_daemon \>\& Data/spitup clean: /bin/rm -rf GB makeuniv GB_daemon *.o Data core a.out clear: /bin/rm -rf *.o core a.out Data shar: /bin/cp Docs/* . uncompress enroll.dat.Z #*.doc shar -c README Makefile *.doc *.h *.c planet.list *.dat > /tmp/GB.shar compress enroll.dat compress /tmp/GB.shar mv /tmp/GB.shar.Z . /bin/rm -f *.doc # install the game install: make cp GB $(GBIN) -mkdir $(GLIB) cp exam.dat enroll.dat $(GLIB) -mkdir $(GLIB)/Docs -cp Docs/* $(GLIB)/Docs -compress $(GLIB)/Docs/* $(GLIB)/enroll.dat make clear makeuniv < planet.list make chmod