File: Makefile

package info (click to toggle)
pathogen 1.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, trixie
  • size: 524 kB
  • ctags: 411
  • sloc: cpp: 2,035; ansic: 57; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Pathogen Warrior
#
# Linux Makefile
# Contributed by Ion
#
# $Id: Makefile,v 1.2 2004/07/12 16:05:50 tonic Exp $
# $Revision: 1.2 $

sources := $(wildcard *.cpp)
objects := $(sources:%.cpp=%.o) errormsg.o

all: pathogen

CXXFLAGS := $(shell sdl-config --cflags)
LDFLAGS := $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lGLU -lGL

pathogen: $(objects)
	$(CXX) $(LDFLAGS) -o $@ $^

.PHONY: clean
clean:
	$(RM) pathogen $(objects)