📄 makefile
字号:
############################################################################### Microwindows template Makefile# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr##############################################################################ifndef MW_DIR_SRCMW_DIR_SRC = ../..CONFIG = $(MW_DIR_SRC)/configendifinclude $(CONFIG)ifeq (This file is,broken)ifeq ($(NANOX), Y)ifeq ($(NANOXDEMO), Y)######################## Additional Flags section ############################# Directories list for header filesINCLUDEDIRS +=# Defines for preprocessorDEFINES +=# Compilation flags for C files OTHER than include directoriesCFLAGS +=# Preprocessor flags OTHER than definesCPPFLAGS +=# Linking flagsLDFLAGS += -lm############################# targets section ################################# If you want to create a library with the objects files, define the name hereLIBNAME =# List of objects to compileOBJS = animate.o ball.o bat.o brick.o cheat.o draw.o dump.o event.o game.o \ init.o levels.o loader.o misc.o nbreaker.o powers.o scores.o sprite.oall: default $(MW_DIR_SRC)/bin/nbreaker######################### Makefile.rules section #############################include $(MW_DIR_SRC)/Makefile.rules######################## Tools targets section ###############################ifeq ($(SHAREDLIBS), Y)$(MW_DIR_SRC)/bin/nbreaker: $(OBJS) $(NANOXCLIENTLIBS) $(MW_DIR_SRC)/config $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(CCNANOXCLIENTLIBS)else$(MW_DIR_SRC)/bin/nbreaker: $(OBJS) $(NANOXCLIENTLIBS) $(MW_DIR_SRC)/config $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(NANOXCLIENTLIBS)endifendifendifendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -