Commit Graph

22 Commits

Author SHA1 Message Date
bellrise
4de824d665 makefile: Remove warnings
Removed warnings about the unused variables, when in reality the
tables from config.h were used in the sources.
2022-05-16 11:06:16 +02:00
fenze
556da06eff makefile: fix conflict 2022-05-16 10:55:45 +02:00
fenze
cebd950c66 Merge branch 'master' of github.com:mini-rose/rose 2022-05-16 10:53:15 +02:00
bellrise
1d622de797 makefile: Fix PHONY targets
Previously, `rose` could not be called if it was already compiled
because it wasn't a PHONY target, so the source files had to be
changed.
2022-05-16 10:48:06 +02:00
fenze
48c90cdee4 makefile: remove options to enable gtkdebug variable 2022-05-16 09:55:12 +02:00
fenze
76e48c89f9 cleaned some tabs, add debug option to makefile 2022-05-15 22:59:53 +02:00
bellrise
c3a9319a40
makefile: Fix invalid flags which should define
Two arguments were missing the -D option, which some compilers treated as errors and stopped the compilation.
2022-05-14 23:17:56 +02:00
fenze
aa2b368a23
Merge branch 'master' into hotfix/makefile 2022-05-14 20:45:43 +02:00
Lucien Cartier-Tilet
40aeb6bc59
Use config.def.h instead of config.h
Since config.h is destined to be modified by the end-user, I think it
is better to adopt what suckless usually does and move config.h to
config.def.h. This file is sort of a template from which the end-user
can build their own config.h that won’t be tracked by git.

If config.h doesn’t exist at compile-time, the makefile will
automatically copy it from the template.
2022-05-14 20:26:27 +02:00
Lucien Cartier-Tilet
d69bb7d05a
Use environment variables for CC and PREFIX
Pull request #3 can break the compilation process. In my case, cc
points to gcc which cannot handle the `-G_DISABLE_DEPRECATED` and the
`-GDK_PIXBUF_DISABLE_DEPRECATED` command-line options whereas clang
works like a charm.

This commit allows the user to use whichever compiler they want
through environment variables such as:
    CC=clang make all

It also allows the user to define their preferred prefix with
environment variables:
    PREFIX=$HOME/.local/bin make install
2022-05-14 20:16:26 +02:00
Slightly Seasoned
bd707dc17c
Changes to makefile.
* Altered the compiler to `cc` for convenience since most *NIX systems ship with it.
* Added a `PREFIX` variable to easily change where you want to install `rose`.
* Added an `uninstall` target to easily uninstall `rose`.
* Added `.PHONY` flag telling `make` that the following targets are not file targets.

That’s it, hope you have a bright future developing `rose`!
2022-05-14 13:38:24 -02:30
fenze
fb5df91cad fix default search engine when target isnt a bookmark 2022-05-13 14:41:24 +02:00
fenze
8161461da7 add script to install target 2022-05-13 14:21:05 +02:00
fenze
dce0c6d795 add reload and zoomreset keybinds 2022-05-13 14:08:29 +02:00
fenze
9eb0c2207f added find keybinds 2022-05-13 12:30:15 +02:00
fenze
40475f9520 add scroll keybinds, remove ghost webkit process 2022-05-13 00:45:02 +02:00
fenze
b132abcd23 performance improvements, add zoom functionality 2022-05-12 22:33:09 +02:00
fenze
701c61d489 remove unused variables 2022-05-11 02:26:46 +02:00
fenze
035a345158 Add support for xatom search action 2022-05-10 23:47:17 +02:00
fenze
a79e00bcdc Removed unused stuff in makefile 2022-05-10 19:55:26 +02:00
fenze
e189704eb5 fix double keypress events 2022-05-10 17:35:37 +02:00
fenze
f225cbd1f1 initial commit 2022-05-09 23:03:14 +02:00