?? makefile
字號:
CFLAGS = `sdl-config --cflags` -Wall -DLINUXLIBS = `sdl-config --libs` -lSDL_mixer -lSDL_imageOBJS = ai.o aliens.o audio.o bullets.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o unpack.o weapons.oVERSION = 1.1PROG = starfighterPACK = starfighter.pakDOCS = docs/*BINDIR = /usr/games/DATADIR = /usr/share/games/parallelrealities/DOCDIR = /usr/share/doc/starfighter/# top-level rule to create the program.all: $(PROG)# compiling other source files.%.o: code/%.cpp code/%.h code/structs.h code/defs.h code/classes.h $(CXX) $(CFLAGS) -c -O3 -DVERSION=\"$(VERSION)\" -DPACKLOCATION=\"$(DATADIR)$(PACK)\" $<# linking the program.$(PROG): $(OBJS) $(CXX) $(LIBS) $(OBJS) -o $(PROG)# cleaning everything that can be automatically recreated with "make".clean: $(RM) $(OBJS)distclean: $(RM) $(PROG)# installinstall: mkdir -p $(DATADIR) strip $(PROG) install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) install -o root -g games -m 644 $(PACK) $(DATADIR)$(PACK) cp $(DOCS) $(DOCDIR)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -