You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
434 B
24 lines
434 B
9 years ago
|
# Try to automatically guess whether we are running under Windows.
|
||
|
# Set WIN32=true manually if this doesn't work.
|
||
|
#
|
||
|
ifeq (${OSTYPE},cygwin32) # Cygwin Beta 19
|
||
|
WIN32=true
|
||
|
else
|
||
|
ifeq (${OSTYPE},cygwin) # Cygwin Beta 20
|
||
|
WIN32=true
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
ifdef WIN32
|
||
|
EXE=.exe
|
||
|
else # UNIX
|
||
|
EXE=
|
||
|
endif
|
||
|
|
||
|
ocamldot$(EXE): ocamldot.mll
|
||
|
ocamllex ocamldot.mll
|
||
|
ocamlc -o $@ ocamldot.ml
|
||
|
|
||
|
clean:
|
||
|
$(RM) ocamldot$(EXE) ocamldot.ml *.cmi *.cmo *.o *.obj
|