Projektrahmen (einfaches Makefile)

This commit is contained in:
Fischlurch 2014-08-30 01:33:01 +02:00
parent 132f1cf17c
commit 0d4a659070
4 changed files with 48 additions and 0 deletions

3
.gitignore vendored
View file

@ -3,3 +3,6 @@
*.o *.o
*.so *.so
*.html *.html
.cproject
.project
.settings

1
sauSynKlick/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
SynKlick

37
sauSynKlick/Makefile Normal file
View file

@ -0,0 +1,37 @@
###############################################################################
#
# SynKlick - Reparatur von Klicks durch Null-Worte auf allen Spuren.
# Mycel-Aufnahme 2014
#
# Voraussetzungen: libsndfile
#
## Setup ##
#XXX_H = /usr/include
#INCLUDES = -I$(XXX_H)
INCLUDES =
LIBRARIES = -lm
CFLAGS = $(INCLUDES) -O2 -fPIC
CXXFLAGS = $(CFLAGS)
PROGRAMS = SynKlick
CC = clang
CXX = clang++
###############################################################################
SynKlick: SynKlick.cc
$(CXX) -o $@ $^ $(CXXFLAGS) $(LIBRARIES)
###############################################################################
all: SynKlick
clean:
-rm -f `find . -name "*.o"`
-rm -f `find .. -name "*~"`
-rm -f *.bak core score.srt
###############################################################################

7
sauSynKlick/SynKlick.cc Normal file
View file

@ -0,0 +1,7 @@
#include <iostream>
#include <cstdlib>
int main(void) {
std::cout << "Hurgha\n";
return EXIT_SUCCESS;
}