Projektrahmen (einfaches Makefile)
This commit is contained in:
parent
132f1cf17c
commit
0d4a659070
4 changed files with 48 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,3 +3,6 @@
|
||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
*.html
|
*.html
|
||||||
|
.cproject
|
||||||
|
.project
|
||||||
|
.settings
|
||||||
|
|
|
||||||
1
sauSynKlick/.gitignore
vendored
Normal file
1
sauSynKlick/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
SynKlick
|
||||||
37
sauSynKlick/Makefile
Normal file
37
sauSynKlick/Makefile
Normal 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
7
sauSynKlick/SynKlick.cc
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <iostream>
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
std::cout << "Hurgha\n";
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue