*** empty log message ***

This commit is contained in:
glenux 2004-02-17 16:43:47 +00:00
parent 5ade666533
commit e3c550be4c
3 changed files with 50 additions and 2 deletions

View file

@ -20,8 +20,8 @@ run:
$(MAKE) run )
subdir:
( cd src/ ; \
$(MAKE) )
$(MAKE) -C src/
$(MAKE) -C test/
doc:
( cd src/ ; \
@ -29,6 +29,7 @@ doc:
clean:
$(MAKE) clean -C src/
$(MAKE) clean -C test/
@rm -f *.class *~
package: clean createpackage sendtoarchives

39
test/Makefile Normal file
View file

@ -0,0 +1,39 @@
### HEADER HERE
# @CLASSPATH=$(CLASSPATH) $(JAVAC) $(JFLAGS) $<
#INCLUDES=-I/
#LIBINC=-L
#LIBS=
CC=gcc
CFLAGS=-ggdb -O2 -Wall
INCLUDES=-I../src
LIBINC=-L../src
LIBS=-lnazgul
USER_CLASSPATH:=../bin:../lib
JFLAGS=-d ../bin -g -deprecation
#-verbose
PRJNAME=Libnazgul
GDATE := $(shell date +"-%Y-%m-%d_r%H")
GFILENAME := ../$(PRJNAME)$(GDATE).tar.bz2
LOCALDIR = $(shell pwd)
BINDIR=../bin
CFILES := $(shell ls *.c)
#OFILES := $(patsubst %.c,%.o,$(CFILES))
FILES := $(patsubst %.c,%,$(CFILES))
all: build
build : $(FILES)
clean:
@echo -e "Cleaning..."
@rm -f *.a
@rm -f *.o
@rm -f $(FILES)
% : %.c
$(CC) $(CFLAGS) $(INCLUDES) $(LIBINC) $(LIBS) $< -o $*

8
test/create_delete.c Normal file
View file

@ -0,0 +1,8 @@
#include "nzg_iface.h"
#include "nzg_proto.h"
int main(void) {
// msgSpaceId mSID=msgSpaceIdGet(""); //renvoie un ID propre au programme
// msgSpace mS=0;
return 0;
}