Skip to content

Commit

Permalink
Merge pull request #58 from jbrandwood/master
Browse files Browse the repository at this point in the history
Add the missing include/hucc/globals.h and enable compiling HuCC examples.
  • Loading branch information
jbrandwood authored Dec 1, 2024
2 parents 33a95ab + 8eaa3e2 commit 09dacfc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for examples
#

SUBDIRS = huc asm
SUBDIRS = hucc huc asm

all clean:
@$(MAKE) $(SUBDIRS) "COMMAND=$@"
Expand Down
18 changes: 18 additions & 0 deletions include/hucc/globals.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// **************************************************************************
// **************************************************************************
//
// globals.h
//
// **************************************************************************
// **************************************************************************
//
// The idea is that you, a PCE developer, copy this file from the ../include/
// directory and into your project's directory, and then define the variables
// that you want to have shared access to in all overlay programs on your CD.
//
// Because PCEAS searches the current (i.e. project) directory for an include
// file first, then it will find your customized copy of the file rather than
// the original copy in the ../include/ directory.
//
// **************************************************************************
// **************************************************************************

0 comments on commit 09dacfc

Please sign in to comment.