⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 After decades of war one company, who had gained powerful supplying both sides with weaponary, steps
💻
字号:
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 + -