1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

makefile fixes; gitignore

This commit is contained in:
tg(x) 2011-04-17 14:17:11 +02:00
parent a3cccb5fda
commit f07efe501d
3 changed files with 7 additions and 2 deletions

3
src/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*.o
*.a
tests/testParser

View file

@ -8,8 +8,8 @@ default:
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
diet:
/opt/diet/bin/diet ${CC} -static -c -Os $S -DDEBUG
/opt/diet/bin/diet ar rcs libpsyc.a $O
diet ${CC} -static -c -Os $S -DDEBUG -DPSYC_COMPILE_LIBRARY
diet ar rcs libpsyc.a $O
lib: $S
${CC} -static -c -g -O0 $S -lc -DDEBUG -DPSYC_COMPILE_LIBRARY

View file

@ -6,3 +6,5 @@ works:
it: testParser
test:
for f in parser/*txt; do echo -e "\n>> $$f"; ./testParser $$f; done