Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Preud'homme d75a8ea2a1 Makefile cleaning
Use $^ instead of explicitely listing .c files in recipe.
2012-10-22 11:22:05 +02:00
Thomas Preud'homme fe2590b471 Honour *FLAGS
Honour CPPFLAGS and LDFLAGS in addition to CFLAGS
2012-10-22 11:21:13 +02:00
Thomas Preud'homme 1cede92011 Compile with -g -O2 by default
Change default CFLAGS (CFLAGS not overriden and no CFLAGS in
environment) to add debugging symbol and optimize the generated code.
2011-10-05 17:38:17 +02:00
Thomas Preud'homme 3ec09496b9 Rewrite archive and cvstag make rules for git
* Rename cvstag to gittag
* Adapt archive and gittag make rules to git
2011-10-03 22:51:02 +02:00
Thomas Preud'homme 27599168da Support DESTDIR and PREFIX variables in Makefile
* Add support for DESTDIR and PREFIX variables in Makefile.
  PREFIX defaults to /usr and DESTDIR is not defined by default.
* Redefine MANDIR and BINDIR in function of PREFIX and DESTDIR. Note
  that DESTDIR for overriden variables (variables defined via make
  VAR=value construct)
2011-10-03 21:47:55 +02:00
Thomas Preud'homme ee32fa3624 Respect CFLAGS from the environment 2011-10-03 19:36:33 +02:00
Thomas Preud'homme d0e37451f5 Remove distribution specific variables in Makefile
Remove everything related to RPM_OPT_FLAGS variable in Makefile.
2011-10-03 19:35:16 +02:00
Thomas Preud'homme b455f99538 Add -Wextra flags to CFLAGS and fix warnings 2011-10-03 19:32:16 +02:00
Thomas Preud'homme 56bbbfe59e Remove distribution files
Remove pstack.spec and adapt Makefile to the change.
2011-10-02 22:22:28 +02:00
Thomas Preud'homme a0a2ced897 Remove pstack unconditionally in clean target.
Don't fail if pstack binary doesn't exist so that the clean target can be called
at any time.
2011-09-10 23:45:38 +02:00
Thomas Preud'homme 35824dbd12 Initial commit (pstack v1.2) 2011-08-18 17:18:25 +02:00