1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Move winreg into a sub directory. I'll eventually do this with all of our components and move them all to MinGW.

This commit is contained in:
Doug Schaefer 2007-05-04 14:57:10 +00:00
parent 8e63fb5452
commit 69ee033a1a
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,28 @@
ifeq ($(JAVA_HOME),)
$(warning JAVA_HOME not set in environment)
endif
# Defaults which can be overridden.
OS = win32
ARCH = x86
JDK_INCLUDES = "$(JAVA_HOME)/include"
JDK_OS_INCLUDES = "$(JAVA_HOME)/include/$(OS)"
CXX = g++
CXXFLAGS = -DUNICODE -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES)
INSTALL_DIR = ../../os/$(OS)/$(ARCH)
TARGET = $(INSTALL_DIR)/winreg.dll
OBJS = winreg.o
all: $(TARGET)
rebuild: clean all
clean :
$(RM) $(OBJS)
$(TARGET) : $(OBJS)
$(CXX) -Wl,--kill-at -shared -o $(TARGET) $(OBJS)