/Makefile (6d718b12f1c4a233462fe8a645c120e53741a7b2) (780 bytes) (mode 100644) (type blob)
CC=gcc
CFLAGS=-w -O2
VERSION:=$(shell git rev-parse --short HEAD)
.PHONY: all release clean
all: pjass
pjass: lex.yy.c grammar.tab.c grammar.tab.h misc.c misc.h
$(CC) $(CFLAGS) lex.yy.c grammar.tab.c misc.c -o $@ -DVERSIONSTR="\"git-$(VERSION)\""
lex.yy.c: token.l
flex $<
%.tab.c %.tab.h: %.y
bison -d $<
clean:
rm grammar.tab.h grammar.tab.c lex.yy.c pjass.exe
rm pjass-git-*.zip
release: pjass-git-$(VERSION)-src.zip pjass-git-$(VERSION).zip
pjass-git-$(VERSION)-src.zip: grammar.y token.l misc.c misc.h Makefile notes.txt readme.txt
zip -q pjass-git-$(VERSION)-src.zip $^
pjass-git-$(VERSION).zip: pjass
#ResourceHacker -addskip pjass.exe pjass.exe, pjass.res ,,,
strip pjass.exe
upx --best pjass.exe > /dev/null
zip -q pjass-git-$(VERSION).zip pjass.exe
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
780 |
6d718b12f1c4a233462fe8a645c120e53741a7b2 |
Makefile |
100644 |
blob |
26434 |
b8c3220f6411ca055a3aa03fcd42559e9011fa88 |
grammar.y |
100644 |
blob |
21988 |
a30ea433c6145496053e4ae2156b42e724934fc7 |
misc.c |
100644 |
blob |
3447 |
36f9e248319266be9e123e808aad82416105cc11 |
misc.h |
100644 |
blob |
1302 |
13d65e05aca85cddd2f539b14d98cfbf1c622752 |
notes.txt |
100644 |
blob |
764 |
270df8583e78c80f366a8ab431fab673d89446d5 |
readme.txt |
100644 |
blob |
5758 |
68744e6897e0f15c2f8aee6be2bb5c0a4a86ff2a |
token.l |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/pjass
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/pjass
Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/pjass
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main