Skip to content

Commit

Permalink
* Makefile: bsd rule for .g -> .c.
Browse files Browse the repository at this point in the history
  • Loading branch information
_why committed Aug 10, 2009
1 parent d7c3fc7 commit 85ac514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Makefile
@@ -1,3 +1,5 @@
.SUFFIXES: .g .c .o

SRC = core/asm.c core/callcc.c core/compile.c core/contrib.c core/file.c core/gc.c core/internal.c core/lick.c core/mt19937ar.c core/number.c core/objmodel.c core/primitive.c core/pn-ast.c core/sig.c core/string.c core/syntax.c core/table.c core/vm.c core/vm-ppc.c core/vm-x86.c
OBJ = ${SRC:.c=.o}
OBJ_POTION = core/potion.o
Expand All @@ -15,7 +17,6 @@ ECHO = /bin/echo
GREG = tools/greg
INCS = -Icore
JIT ?= 1
LEMON = tools/lemon
LIBS = -lm
STRIP ?= `./tools/config.sh ${CC} strip`

Expand Down Expand Up @@ -223,7 +224,8 @@ todo:

clean:
@${ECHO} cleaning
@rm -f ${OBJ} ${OBJ_POTION} ${OBJ_TEST} ${OBJ_GC_TEST} ${OBJ_GC_BENCH} ${DOCHTML} tools/lemon
@rm -f ${OBJ} ${OBJ_POTION} ${OBJ_TEST} ${OBJ_GC_TEST} ${OBJ_GC_BENCH} ${DOCHTML}
@rm -f tools/greg tools/greg.o tools/compile.o tools/tree.o
@rm -f core/config.h core/version.h core/sig.c core/syntax.c
@rm -f potion potion.exe test/api/potion-test test/api/gc-test test/api/gc-bench

Expand Down
3 changes: 0 additions & 3 deletions core/internal.h
Expand Up @@ -73,9 +73,6 @@ struct PNBHeader {
u8 proto[0];
};

void *LemonPotionAlloc();
void LemonPotion(void *, int, PN, struct Potion_State *);

size_t potion_cp_strlen_utf8(const char *);
void *potion_mmap(size_t, const char);
int potion_munmap(void *, size_t);
Expand Down

0 comments on commit 85ac514

Please sign in to comment.