Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (30 sloc) 0.571 kB
CC = gcc
all: poasy
debug: all
@echo
@echo -e "\e[01;32mCompiling to pxs...\e[0m"
cat demo.pss | ./poasy > demo.pxs
@echo
@echo -e "\e[01;32mLet's have a look:\e[0m"
@cat demo.pxs
@echo
@echo -e "\e[01;32mCompiling to pox...\e[0m"
./poshx -o demo.pox demo.pxs
@echo
@echo -e "\e[01;32mRunning pox...\e[0m"
./poshx demo.pox
@echo
clean:
rm -f poasy.c
rm -f poasy.lex.c
rm -f *.o
rm -f poasy
rm -f demo.pox
rm -f demo.pxs
rebuild: clean all
poasy: poasy.o
poasy.o: poasy.c poasy.lex.c
poasy.c: poasy.y
poasy.lex.c: poasy.l
lex $<
mv -f lex.yy.c $@
Jump to Line
Something went wrong with that request. Please try again.