Reupload
This commit is contained in:
27
assets/linux/Makefile
Executable file
27
assets/linux/Makefile
Executable file
@ -0,0 +1,27 @@
|
||||
### Sample DamnCute Engine based program Makefile ###
|
||||
|
||||
SRC = src/main.cpp \
|
||||
src/Game.cpp
|
||||
|
||||
NAME = sample
|
||||
CXXFLAGS = -Wall -Wextra -ansi -W -O2 -std=c++0x -I./include
|
||||
CXX = clang++
|
||||
OBJS = $(SRC:.cpp=.o)
|
||||
LINKER = $(CXX)
|
||||
|
||||
LIB = ./libs
|
||||
|
||||
LDFLAGS = -L$(LIB) -Wl,-rpath $(LIB) $(LIB)/*
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): $(OBJS)
|
||||
$(LINKER) $(OBJS) $(LDFLAGS) -o $(NAME)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.swp *~ *#
|
||||
|
||||
fclean: clean
|
||||
$(RM) $(NAME)
|
||||
|
||||
.PHONY: all clean fclean re
|
Reference in New Issue
Block a user