mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
makefile fixes; gitignore
This commit is contained in:
parent
a3cccb5fda
commit
f07efe501d
3 changed files with 7 additions and 2 deletions
3
src/.gitignore
vendored
Normal file
3
src/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*.o
|
||||||
|
*.a
|
||||||
|
tests/testParser
|
|
@ -8,8 +8,8 @@ default:
|
||||||
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
|
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
|
||||||
|
|
||||||
diet:
|
diet:
|
||||||
/opt/diet/bin/diet ${CC} -static -c -Os $S -DDEBUG
|
diet ${CC} -static -c -Os $S -DDEBUG -DPSYC_COMPILE_LIBRARY
|
||||||
/opt/diet/bin/diet ar rcs libpsyc.a $O
|
diet ar rcs libpsyc.a $O
|
||||||
|
|
||||||
lib: $S
|
lib: $S
|
||||||
${CC} -static -c -g -O0 $S -lc -DDEBUG -DPSYC_COMPILE_LIBRARY
|
${CC} -static -c -g -O0 $S -lc -DDEBUG -DPSYC_COMPILE_LIBRARY
|
||||||
|
|
|
@ -6,3 +6,5 @@ works:
|
||||||
|
|
||||||
it: testParser
|
it: testParser
|
||||||
|
|
||||||
|
test:
|
||||||
|
for f in parser/*txt; do echo -e "\n>> $$f"; ./testParser $$f; done
|
||||||
|
|
Loading…
Reference in a new issue