Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benaryorg/gcj-makefile
https://github.com/benaryorg/gcj-makefile
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benaryorg/gcj-makefile
- Owner: benaryorg
- License: wtfpl
- Created: 2015-03-16T18:26:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-06T19:58:32.000Z (almost 10 years ago)
- Last Synced: 2024-10-19T18:12:57.695Z (3 months ago)
- Language: Makefile
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCJ Makefile
This is a simple Makefile script to compile a Java project using `gcj`.
## How To Use It
### Configuration
Just have your `.java` files in `src/` and then adjust the `config.mk` file.
### Building
To compile the program just run `make jar` to compile it to a _jar_ file named
`dist/main.jar` or run `make bin` to compile it to a binary at `dist/main`.### External Resources
If you need some external _jar_ files, just put them into `res/`.
### Reusing the Repo
If you want to use this repo for a different project, just add it as a remote:
$ cd your_project/
$ mv src/ oldsrc/ # just to be sure
$ git remote add gcj-makefile git://benary.org/benaryorg/gcj-makefile.git
$ git pull gcj-makefile master
$ mv oldsrc/* src/
$ rmdir oldsrc/## License
WTFPL as specified in the `LICENSE` file.