Wolfgang Bumiller
|
5d51930adf
|
Oh god I hate this so much
|
2012-12-20 15:45:15 +01:00 |
|
Dale Weiler
|
2e57a952a7
|
No more hacks
|
2012-12-20 10:20:16 +00:00 |
|
Dale Weiler
|
148f7babcd
|
*sigh*
|
2012-12-20 08:51:29 +00:00 |
|
Dale Weiler
|
199540e6ca
|
Allow uname override
|
2012-12-20 08:49:14 +00:00 |
|
Dale Weiler
|
3e8435783c
|
More fixes
|
2012-12-20 08:45:54 +00:00 |
|
Dale Weiler
|
0648835061
|
handle cygwin/mingw for makefile
|
2012-12-20 00:22:22 +00:00 |
|
Wolfgang (Blub) Bumiller
|
8cd94192d8
|
default make target now is 'all'
|
2012-12-18 16:58:21 +01:00 |
|
Wolfgang (Blub) Bumiller
|
259aaad324
|
make install-doc now also installs qcvm.q
|
2012-12-18 16:03:48 +01:00 |
|
Dale Weiler
|
4b3e2571af
|
Cleanups of compiler option configuration. Added ini/cfg parser system as well.
|
2012-12-18 04:57:17 +00:00 |
|
Wolfgang (Blub) Bumiller
|
f7bc1dca08
|
Revert "Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds"
This reverts commit a473979cf5 .
-- because visual studio sucks
|
2012-12-17 16:46:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
a473979cf5
|
Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds
|
2012-12-17 16:30:07 +01:00 |
|
Wolfgang (Blub) Bumiller
|
362d822e18
|
Adding an 'install-doc' target to the Makefile, which is included by the 'install' target and uses MANDIR, which defaults to DATADIR/man, and DATADIR defaults to PREFIX/share
|
2012-12-06 18:57:56 +01:00 |
|
Dale Weiler
|
d43a6c50d4
|
Hide execution call to testsuite with @ in Makefile
|
2012-12-02 23:58:13 +00:00 |
|
Wolfgang (Blub) Bumiller
|
a9a41a786e
|
Adding opts.def as dep to everything which has gmqcc.h as dep
|
2012-11-30 18:21:14 +01:00 |
|
Dale Weiler
|
46fff99fad
|
ast_binstore_codegen initialize left ir value to null for output left side used for lvalue to prevent clang from warning. Also fixed uninitialized bug in hashtable implementation
|
2012-11-23 06:26:19 +00:00 |
|
Dale Weiler
|
9e3399df19
|
Implemented hashtable as-per Blubs request
|
2012-11-23 06:12:01 +00:00 |
|
Dale Weiler
|
02a933b808
|
Wall was already there, changed pedantic, into pedantic-errors
|
2012-11-23 02:31:02 +00:00 |
|
Dale Weiler
|
b5507b3127
|
Make it compile with -Wall and -pedantic
|
2012-11-23 02:23:22 +00:00 |
|
Wolfgang (Blub) Bumiller
|
a4198fc27e
|
Fixing the makefile - stop adding pointless defaults
|
2012-11-22 23:11:29 +01:00 |
|
Dale Weiler
|
fcc57a1185
|
Fix memory leaks
|
2012-11-22 21:38:14 +00:00 |
|
Dale Weiler
|
59e81eeb7f
|
Remove some disabled warnings from the makefile
|
2012-11-22 20:46:38 +00:00 |
|
Dale Weiler
|
baf69f3725
|
Fix more warnings
|
2012-11-22 20:32:08 +00:00 |
|
Dale Weiler
|
ec50d8508e
|
Make blub happy
|
2012-11-21 20:31:41 +00:00 |
|
Dale Weiler
|
e7917d3225
|
Make makefile runtest rule depend on all to be built
|
2012-11-21 20:27:41 +00:00 |
|
Dale Weiler
|
61fa54318c
|
Merge branch 'master' into test-suite
Conflicts:
Makefile
ir.c
|
2012-11-19 02:13:46 +00:00 |
|
Wolfgang (Blub) Bumiller
|
79abe3fb6d
|
Merge branch 'master' into ftepp
|
2012-11-17 11:34:00 +01:00 |
|
Dale Weiler
|
d1fd7d044b
|
Merge branch 'master' into test-suite
Conflicts:
Makefile
|
2012-11-17 10:02:21 +00:00 |
|
Dale Weiler
|
227c85ba4e
|
More makefile changes
|
2012-11-17 10:00:55 +00:00 |
|
Wolfgang (Blub) Bumiller
|
852b2b91d2
|
install targets
|
2012-11-17 11:00:32 +01:00 |
|
Dale Weiler
|
990dcb106a
|
Merge branch 'master' into test-suite
Conflicts:
Makefile
|
2012-11-17 09:56:48 +00:00 |
|
Wolfgang (Blub) Bumiller
|
6333130537
|
Temporary list of dependencies for objects
|
2012-11-17 10:46:23 +01:00 |
|
Dale Weiler
|
0dc4febb91
|
New test-suite initial implementation. Just need to write some tests.
|
2012-11-17 02:54:30 +00:00 |
|
Wolfgang (Blub) Bumiller
|
07ca2e6407
|
importing initial ftepp.c; -E option now executes the preprocessor
|
2012-11-16 16:57:59 +01:00 |
|
Wolfgang (Blub) Bumiller
|
9d57cf2774
|
Removing old make rules for ir/ast tests in deleted test/ dir
|
2012-11-16 16:42:30 +01:00 |
|
Dale Weiler
|
0b8da9eeb4
|
Some more changes: added redirout/redirerr command line options
|
2012-11-15 03:38:20 +00:00 |
|
Dale Weiler
|
2e84cc0b41
|
Use new console system everywhere.
|
2012-11-15 00:28:46 +00:00 |
|
Wolfgang (Blub) Bumiller
|
84088cb5f0
|
Merging in new-syntax
|
2012-11-14 21:39:16 +01:00 |
|
Dale Weiler
|
f0750209b7
|
preliminary segregated console subsystem
|
2012-11-14 19:17:43 +00:00 |
|
Wolfgang (Blub) Bumiller
|
1fa67577e0
|
Removed -O3 from Makefile again
|
2012-11-11 11:52:05 +01:00 |
|
Dale Weiler
|
9ad35a2817
|
Remove execloop.h, we still use xmacros, but it's done with #include __FILE__ trickery. Please do not kill me, it doesn't look that bad, conditional compilation is even used in eglibc like this :P
|
2012-11-10 20:53:37 +00:00 |
|
Wolfgang (Blub) Bumiller
|
bf256abd66
|
Delete the test preprocess.c file and get the use/build part out of main.c/Makefile
|
2012-11-02 18:59:21 +01:00 |
|
Wolfgang (Blub) Bumiller
|
a3791b3f51
|
Finishing the preprocessing flag for the lexer, added preprocess.c to test it
|
2012-11-02 18:34:14 +01:00 |
|
Wolfgang (Blub) Bumiller
|
984d8e7adc
|
link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile
|
2012-10-02 15:35:31 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ab440743eb
|
on linux we need -lm for sqrt
|
2012-08-23 10:24:41 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5275bdb35e
|
make track=no adds -DNOTRACK WARNING: do not compile only parts of the code with that... it would cause major breakage
|
2012-08-22 12:38:16 +02:00 |
|
Wolfgang (Blub) Bumiller
|
fd835931af
|
Removing -std=c90, which was just used to make sure things stayed portable
|
2012-08-22 11:49:46 +02:00 |
|
Wolfgang (Blub) Bumiller
|
5da30a46d1
|
let test_ast compile again
|
2012-08-21 12:03:34 +02:00 |
|
Wolfgang (Blub) Bumiller
|
579ac3dd5d
|
Working towards a saner error-output system, adding -Werror
|
2012-08-14 11:34:07 +02:00 |
|
Wolfgang Bumiller
|
b76ffe8304
|
Merging master with newly merged executor
|
2012-07-27 19:17:03 +02:00 |
|
Wolfgang Bumiller
|
9b6598f049
|
Copying my old lexer
|
2012-07-16 13:59:10 +02:00 |
|
Wolfgang Bumiller
|
0d1b790bb1
|
Updating makefile to remove all the not yet used stuff
|
2012-07-16 12:27:21 +02:00 |
|
Wolfgang (Blub) Bumiller
|
178dcb13aa
|
fixing Makefile for the qcvm_execprogram.h -> execloop.h commit
|
2012-06-27 22:04:02 +02:00 |
|
Wolfgang (Blub) Bumiller
|
a4167900c4
|
make clean : now deletes qcvm
|
2012-06-27 15:36:22 +02:00 |
|
Wolfgang (Blub) Bumiller
|
e761f1f7b7
|
'make qcvm' now builds exec-standalone.o from exec.c with -DQCVM_EXECUTOR=1
|
2012-06-27 14:56:43 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1ce97d1acc
|
Executor now executes and traces
|
2012-06-27 13:21:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
e328446044
|
executor: loader
|
2012-06-25 23:58:47 +02:00 |
|
Dale Weiler
|
15d4534202
|
Fixed more warnings
|
2012-06-07 11:18:04 -04:00 |
|
Dale Weiler
|
2929eb39a8
|
fixed -Wconditional-uninitialized for ast codegen
|
2012-06-07 11:12:12 -04:00 |
|
Dale Weiler
|
f4bc6ba08a
|
Removed even more warnings
|
2012-06-07 11:09:29 -04:00 |
|
Dale Weiler
|
ce941066db
|
removed more warnings
|
2012-06-07 11:04:38 -04:00 |
|
Dale Weiler
|
911c2bddb6
|
fixed shadow issue
|
2012-06-07 10:59:57 -04:00 |
|
Dale Weiler
|
84c110e8f5
|
More compile warnings (disabled many for now, they will be re-enabled one-by-one as code that triggers warnings is rectified)
|
2012-06-07 10:57:48 -04:00 |
|
Dale Weiler
|
510d795c06
|
More assembler code (less allocations too)
|
2012-05-03 16:54:34 -04:00 |
|
Dale Weiler
|
c1a85378d5
|
Trailing whitespace was imminent, pending editor configuration change to accomodate insanity.
|
2012-05-02 18:03:17 -04:00 |
|
Dale Weiler
|
21e992aa3a
|
supress attribute warnings
|
2012-05-02 17:57:45 -04:00 |
|
Dale Weiler
|
8156374a71
|
Invoke tests
|
2012-04-29 17:28:01 -04:00 |
|
Dale Weiler
|
453ca45176
|
added test_ast, test_ir, and test, as well as default, and all to the Makefile target list. Also made all tests C90 conformant code.
|
2012-04-29 16:54:41 -04:00 |
|
Dale Weiler
|
3e7a8c0e78
|
All code is now C89/C90 compat
|
2012-04-28 18:56:09 -04:00 |
|
Dale Weiler
|
df9a685f61
|
surpress empty bodies
|
2012-04-28 15:13:41 -04:00 |
|
Dale Weiler
|
b09d75518c
|
almost ISO C now, fixed all the MEM_VECTOR trailing semicolon issues.
|
2012-04-28 05:54:24 -04:00 |
|
Wolfgang (Blub) Bumiller
|
06bdc46864
|
Use .o rather than .c in the Makefile... sorry for that mistake
|
2012-04-26 11:36:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ef024e5b80
|
use CC ?= because clang crashes on me
|
2012-04-25 17:27:48 +02:00 |
|
Dale Weiler
|
988009a4b3
|
assembler.c -> asm.c
|
2012-04-24 16:19:05 -04:00 |
|
Dale Weiler
|
32b804864e
|
Fix clang warnings
|
2012-04-17 17:31:07 -04:00 |
|
Dale Weiler
|
6e3819a76c
|
Work in progress assembler, cleanups and more.
|
2012-04-17 04:29:58 -04:00 |
|
Dale Weiler
|
e4bc0a2d6a
|
More parsing stuff (still totally broken)
|
2012-04-11 19:41:04 -04:00 |
|
Dale Weiler
|
0b322a8944
|
Some perliminary code gen code (just writes a header)
|
2012-04-11 03:54:01 -04:00 |
|
Dale Weiler
|
639fc8a32b
|
Cleanups
|
2012-04-10 05:02:58 -04:00 |
|
Dale Weiler
|
506f4bca1b
|
Implemented memory tracker
|
2012-04-09 23:12:42 -04:00 |
|
Dale Weiler
|
a6d9357ef9
|
Fixes for '#' tokens
|
2012-04-09 21:32:24 -04:00 |
|
Dale Weiler
|
a440c1410b
|
Cleaups and README
|
2012-04-09 20:18:49 -04:00 |
|
Dale Weiler
|
b10d1005fb
|
Implemented typedefs
|
2012-04-09 19:47:20 -04:00 |
|
Dale Weiler
|
1deeb8c9cf
|
Work in progress preprocessor
|
2012-04-09 09:36:16 -04:00 |
|
Dale Weiler
|
48a95ec3c9
|
initial commit
|
2012-04-09 06:42:06 -04:00 |
|